forked from OSchip/llvm-project
Add tf_control to syntax files's types. NFC
PiperOrigin-RevId: 206587987
This commit is contained in:
parent
e990ec65d0
commit
775130b6b9
|
@ -29,7 +29,7 @@
|
|||
;; Affinemaps
|
||||
'("#[-a-zA-Z$._0-9]*" . font-lock-variable-name-face)
|
||||
;; Types
|
||||
'("\\b\\(f16\\|bf16\\|f32\\|f64\\|affineint\\|i[1-9][0-9]*\\)\\b" . font-lock-type-face)
|
||||
'("\\b\\(f16\\|bf16\\|f32\\|f64\\|affineint\\|tf_control\\|i[1-9][0-9]*\\)\\b" . font-lock-type-face)
|
||||
'("\\b\\(tensor\\|vector\\|memref\\)\\b" . font-lock-type-face)
|
||||
;; Dimension lists
|
||||
'("\\b\\([0-9?]+x\\)*\\(f16\\|bf16\\|f32\\|f64\\|affineint\\|i[1-9][0-9]*\\)\\b" . font-lock-preprocessor-face)
|
||||
|
|
|
@ -7,7 +7,7 @@ if exists("b:current_syntax")
|
|||
endif
|
||||
|
||||
syn keyword mlirType affineint i1 i2 i4 i8 i13 i16 i32 i64
|
||||
\ f16 f32
|
||||
\ f16 f32 tf_control
|
||||
syn keyword mlirType memref tensor vector
|
||||
|
||||
syntax keyword mlirKeywords extfunc cfgfunc mlfunc for to step return
|
||||
|
|
Loading…
Reference in New Issue