1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

[AArch64] Accept "sve" as arch feature in assembler

Differential Revision: https://reviews.llvm.org/D56128

llvm-svn: 350174
This commit is contained in:
Martin Storsjo 2018-12-31 10:22:04 +00:00
parent c75817f6e2
commit 9c2f92fb12
2 changed files with 7 additions and 0 deletions

View File

@ -2832,6 +2832,7 @@ static const struct Extension {
{"tlb-rmi", {AArch64::FeatureTLB_RMI}},
{"pan-rwv", {AArch64::FeaturePAN_RWV}},
{"ccpp", {AArch64::FeatureCCPP}},
{"sve", {AArch64::FeatureSVE}},
// FIXME: Unsupported extensions
{"pan", {}},
{"lor", {}},

View File

@ -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