summaryrefslogtreecommitdiff
path: root/llvm/utils/vim/syntax/machine-ir.vim
AgeCommit message (Collapse)Author
2021-02-17[vim] Highlight most common MIR syntax not in LLVM IRCassie Jones
This adds highlighting for MIR instruction opcodes, physical registers, and MIR types. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D95553
2021-02-17[vim] Add initial syntax definition for .mir filesCassie Jones
This initial definition handles the yaml container and the embedding of the inner IRs. As a stopgap, this reuses the LLVM IR syntax highlighting for the MIR function bodies--even though it's not technically correct, it produces decent highlighting for a first pass. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D95552