summaryrefslogtreecommitdiffstats
path: root/mlir/utils/vim/mlir.vim
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/utils/vim/mlir.vim')
-rw-r--r--mlir/utils/vim/mlir.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/utils/vim/mlir.vim b/mlir/utils/vim/mlir.vim
index 0e2797f5603..91478d62136 100644
--- a/mlir/utils/vim/mlir.vim
+++ b/mlir/utils/vim/mlir.vim
@@ -10,9 +10,9 @@ syn keyword mlirType index i1 i2 i4 i8 i13 i16 i32 i64
\ f16 f32 tf_control
syn keyword mlirType memref tensor vector
-syntax keyword mlirKeywords extfunc func to step return
+syntax keyword mlirKeywords extfunc cfgfunc mlfunc for to step return
syntax keyword mlirConditional affine.if else
-syntax keyword mlirCoreOps dim addf addi subf subi mulf muli cmpi select constant affine.apply affine.for call call_indirect extract_element getTensor memref_cast tensor_cast load store alloc dealloc dma_start dma_wait
+syntax keyword mlirCoreOps dim addf addi subf subi mulf muli cmpi select constant affine.apply call call_indirect extract_element getTensor memref_cast tensor_cast load store alloc dealloc dma_start dma_wait
syn match mlirInt "-\=\<\d\+\>"
syn match mlirFloat "-\=\<\d\+\.\d\+\>"
OpenPOWER on IntegriCloud