[PATCH] D85620: [AARCH64] [MC] add memtag as an alias of mte architecture extension
Jian Cai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 11 13:29:31 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG277873ce0f48: [AARCH64] [MC] add memtag as an alias of mte architecture extension (authored by jcai19).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85620/new/
https://reviews.llvm.org/D85620
Files:
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
llvm/test/MC/AArch64/directive-arch_extension.s
Index: llvm/test/MC/AArch64/directive-arch_extension.s
===================================================================
--- llvm/test/MC/AArch64/directive-arch_extension.s
+++ llvm/test/MC/AArch64/directive-arch_extension.s
@@ -48,6 +48,10 @@
irg x0, x1
// CHECK: irg x0, x1
+.arch_extension memtag
+irg x0, x1
+// CHECK: irg x0, x1
+
.arch_extension tlb-rmi
tlbi vmalle1os
// CHECK: tlbi vmalle1os
Index: llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
===================================================================
--- llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+++ llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
@@ -2841,6 +2841,7 @@
{"predres", {AArch64::FeaturePredRes}},
{"ccdp", {AArch64::FeatureCacheDeepPersist}},
{"mte", {AArch64::FeatureMTE}},
+ {"memtag", {AArch64::FeatureMTE}},
{"tlb-rmi", {AArch64::FeatureTLB_RMI}},
{"pan-rwv", {AArch64::FeaturePAN_RWV}},
{"ccpp", {AArch64::FeatureCCPP}},
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85620.284874.patch
Type: text/x-patch
Size: 981 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200811/0f69580b/attachment.bin>
More information about the llvm-commits
mailing list