summaryrefslogtreecommitdiffstats
path: root/syntax/llvm.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-03-10 17:22:05 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2021-03-10 17:22:05 +0100
commiteda351ca897ca0270ed8b01798af3679914683a1 (patch)
tree5340822acd25ecd12063f08b1e6d0bed4a891a82 /syntax/llvm.vim
parentcc63193ce82c1e7b9ee2ad7d0ddd14e8394211ef (diff)
downloadvim-polyglot-eda351ca897ca0270ed8b01798af3679914683a1.tar.gz
vim-polyglot-eda351ca897ca0270ed8b01798af3679914683a1.zip
Update
Diffstat (limited to 'syntax/llvm.vim')
-rw-r--r--syntax/llvm.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/syntax/llvm.vim b/syntax/llvm.vim
index 57bb3d6f..cc5f50bb 100644
--- a/syntax/llvm.vim
+++ b/syntax/llvm.vim
@@ -18,7 +18,7 @@ syn case match
" Types.
" Types also include struct, array, vector, etc. but these don't
" benefit as much from having dedicated highlighting rules.
-syn keyword llvmType void half float double x86_fp80 fp128 ppc_fp128
+syn keyword llvmType void half bfloat float double x86_fp80 fp128 ppc_fp128
syn keyword llvmType label metadata x86_mmx
syn keyword llvmType type label opaque token
syn match llvmType /\<i\d\+\>/
@@ -207,6 +207,7 @@ syn match llvmConstant /\<DIFlag[A-Za-z]\+\>/
syn match llvmSpecialComment /;\s*PR\d*\s*$/
syn match llvmSpecialComment /;\s*REQUIRES:.*$/
syn match llvmSpecialComment /;\s*RUN:.*$/
+syn match llvmSpecialComment /;\s*ALLOW_RETRIES:.*$/
syn match llvmSpecialComment /;\s*CHECK:.*$/
syn match llvmSpecialComment "\v;\s*CHECK-(NEXT|NOT|DAG|SAME|LABEL):.*$"
syn match llvmSpecialComment /;\s*XFAIL:.*$/