Skip to content

Commit d2a8e14

Browse files
chelxomjoker-eph
authored andcommitted
Fix the MLIR Vim syntax file: the keyword group was missing
1 parent 1b57749 commit d2a8e14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/utils/vim/syntax/mlir.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ syn match mlirType /x\s*\zsvector/
3333
" TODO: the list is not exhaustive.
3434
syn keyword mlirOps alloc alloca addf addi call call_indirect cmpi constant
3535
syn keyword mlirOps dealloc divf dma_start dma_wait dim extract_element
36-
syn keyword getTensor index_cast load memref_cast memref_shape_cast mulf muli
37-
syn keyword prefetch sitofp splat store select subf subi subview tensor_cast
38-
syn keyword view
36+
syn keyword mlirOps getTensor index_cast load memref_cast memref_shape_cast
37+
syn keyword mlirOps mulf muli prefetch sitofp splat store select subf subi
38+
syn keyword mlirOps subview tensor_cast view
3939

4040
" Affine ops.
4141
syn match mlirOps /\<affine\.apply\>/

0 commit comments

Comments
 (0)