Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mlir
diff options
context:
space:
mode:
authorCullen Rhodes <cullen.rhodes@arm.com>2022-05-13 18:11:25 +0300
committerCullen Rhodes <cullen.rhodes@arm.com>2022-05-17 16:28:31 +0300
commit6ad6b00f6a47cd23b882f65ba6da45e227ba536a (patch)
treebf74917669afad44cb3c224cdd5be8cd43e96d7a /mlir
parent9bb0f4616a75515e93981af05e58f186ac7714ce (diff)
[mlir] vim: add bf16 type
Diffstat (limited to 'mlir')
-rw-r--r--mlir/utils/vim/syntax/mlir.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/utils/vim/syntax/mlir.vim b/mlir/utils/vim/syntax/mlir.vim
index d874149379bc..7989032eada8 100644
--- a/mlir/utils/vim/syntax/mlir.vim
+++ b/mlir/utils/vim/syntax/mlir.vim
@@ -14,7 +14,7 @@ syn case match
" Types.
"
-syn keyword mlirType index f16 f32 f64
+syn keyword mlirType index f16 f32 f64 bf16
" Signless integer types.
syn match mlirType /\<i\d\+\>/
" Unsigned integer types.
@@ -23,7 +23,7 @@ syn match mlirType /\<ui\d\+\>/
syn match mlirType /\<si\d\+\>/
" Elemental types inside memref, tensor, or vector types.
-syn match mlirType /x\s*\zs\(f16\|f32\|f64\|i\d\+\|ui\d\+\|si\d\+\)/
+syn match mlirType /x\s*\zs\(bf16|f16\|f32\|f64\|i\d\+\|ui\d\+\|si\d\+\)/
" Shaped types.
syn match mlirType /\<memref\ze\s*<.*>/