[PATCH] D97444: [X86] Add x86_amx keyword to llvm plugin syntaxes. NFC
Pengfei Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 24 23:18:40 PST 2021
pengfei created this revision.
pengfei added reviewers: LuoYuanke, craig.topper.
pengfei requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97444
Files:
llvm/utils/kate/llvm.xml
llvm/utils/llvm.grm
llvm/utils/vim/syntax/llvm.vim
llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
Index: llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
===================================================================
--- llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
+++ llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
@@ -22,6 +22,7 @@
\\blabel\\b|\
\\bmetadata\\b|\
\\bx86_mmx\\b|\
+ \\bx86_amx\\b|\
\\btype\\b|\
\\blabel\\b|\
\\bopaque\\b|\
Index: llvm/utils/vim/syntax/llvm.vim
===================================================================
--- llvm/utils/vim/syntax/llvm.vim
+++ llvm/utils/vim/syntax/llvm.vim
@@ -15,7 +15,7 @@
" Types also include struct, array, vector, etc. but these don't
" benefit as much from having dedicated highlighting rules.
syn keyword llvmType void half bfloat float double x86_fp80 fp128 ppc_fp128
-syn keyword llvmType label metadata x86_mmx
+syn keyword llvmType label metadata x86_mmx x86_amx
syn keyword llvmType type label opaque token
syn match llvmType /\<i\d\+\>/
Index: llvm/utils/llvm.grm
===================================================================
--- llvm/utils/llvm.grm
+++ llvm/utils/llvm.grm
@@ -193,7 +193,7 @@
GlobalVarAttribute ::= SectionString | align EUINT64VAL ;
PrimType ::= INTTYPE | float | double | "ppc_fp128" | fp128 | "x86_fp80"
- | - label ;
+ | "x86_mmx" | "x86_amx" | - label ;
Types
::= opaque
Index: llvm/utils/kate/llvm.xml
===================================================================
--- llvm/utils/kate/llvm.xml
+++ llvm/utils/kate/llvm.xml
@@ -105,7 +105,8 @@
<item> fp128 </item>
<item> x86_fp80 </item>
<item> ppc_fp128 </item>
- <item> x86mmx </item>
+ <item> x86_mmx </item>
+ <item> x86_amx </item>
<item> void </item>
<item> label </item>
<item> metadata </item>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97444.326293.patch
Type: text/x-patch
Size: 1864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210225/48c68e7c/attachment.bin>
More information about the llvm-commits
mailing list