llvm/llvm/utils/vim/ftdetect/mir.vim

au BufRead,BufNewFile *.mir set filetype=mir