[PATCH] D56128: [AArch64] Accept "sve" as arch feature in assembler

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 31 02:25:46 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL350174: [AArch64] Accept "sve" as arch feature in assembler (authored by mstorsjo, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D56128?vs=179627&id=179753#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56128/new/

https://reviews.llvm.org/D56128

Files:
  llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  llvm/trunk/test/MC/AArch64/SVE/directive-arch.s


Index: llvm/trunk/test/MC/AArch64/SVE/directive-arch.s
===================================================================
--- llvm/trunk/test/MC/AArch64/SVE/directive-arch.s
+++ llvm/trunk/test/MC/AArch64/SVE/directive-arch.s
@@ -0,0 +1,6 @@
+// RUN: llvm-mc -triple=aarch64 < %s | FileCheck %s
+
+.arch armv8-a+sve
+
+ptrue   p0.b, pow2
+// CHECK: ptrue   p0.b, pow2
Index: llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
===================================================================
--- llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+++ llvm/trunk/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
@@ -2832,6 +2832,7 @@
     {"tlb-rmi", {AArch64::FeatureTLB_RMI}},
     {"pan-rwv", {AArch64::FeaturePAN_RWV}},
     {"ccpp", {AArch64::FeatureCCPP}},
+    {"sve", {AArch64::FeatureSVE}},
     // FIXME: Unsupported extensions
     {"pan", {}},
     {"lor", {}},


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56128.179753.patch
Type: text/x-patch
Size: 897 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181231/7fb6a8c2/attachment.bin>


More information about the llvm-commits mailing list