Update vim syntax file to highlight core ops

PiperOrigin-RevId: 227082502
This commit is contained in:
Uday Bondhugula
2018-12-27 18:15:31 -08:00
committed by jpienaar
parent 471c976413
commit 3b021d7f2e

View File

@@ -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