mirror of
https://github.com/intel/llvm.git
synced 2026-01-21 20:53:29 +08:00
Update vim syntax file to highlight core ops
PiperOrigin-RevId: 227082502
This commit is contained in:
committed by
jpienaar
parent
471c976413
commit
3b021d7f2e
@@ -12,6 +12,7 @@ syn keyword mlirType memref tensor vector
|
||||
|
||||
syntax keyword mlirKeywords extfunc cfgfunc mlfunc for to step return
|
||||
syntax keyword mlirConditional if else
|
||||
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\+\>"
|
||||
@@ -23,6 +24,7 @@ syn region mlirString matchgroup=mlirString start=+"+ end=+"+
|
||||
|
||||
hi def link mlirComment Comment
|
||||
hi def link mlirKeywords Statement
|
||||
hi def link mlirCoreOps Statement
|
||||
hi def link mlirInt Constant
|
||||
hi def link mlirType Type
|
||||
hi def link mlirMapOutline PreProc
|
||||
|
||||
Reference in New Issue
Block a user