[PATCH] D108293: [AArch64][SME] Add predicate for NEON support in streaming mode
Cullen Rhodes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 23 02:24:37 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcf3c6cca9fa5: [AArch64][SME] Add predicate for NEON support in streaming mode (authored by c-rhodes).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108293/new/
https://reviews.llvm.org/D108293
Files:
llvm/lib/Target/AArch64/AArch64InstrInfo.td
Index: llvm/lib/Target/AArch64/AArch64InstrInfo.td
===================================================================
--- llvm/lib/Target/AArch64/AArch64InstrInfo.td
+++ llvm/lib/Target/AArch64/AArch64InstrInfo.td
@@ -140,6 +140,12 @@
: Predicate<"Subtarget->hasSVE2() || Subtarget->hasStreamingSVE()">,
AssemblerPredicate<(any_of FeatureSVE2, FeatureStreamingSVE),
"streaming-sve or sve2">;
+// A subset of NEON instructions are legal in Streaming SVE execution mode,
+// they should be enabled if either has been specified.
+def HasNEONorStreamingSVE
+ : Predicate<"Subtarget->hasNEON() || Subtarget->hasStreamingSVE()">,
+ AssemblerPredicate<(any_of FeatureNEON, FeatureStreamingSVE),
+ "streaming-sve or neon">;
def HasRCPC : Predicate<"Subtarget->hasRCPC()">,
AssemblerPredicate<(all_of FeatureRCPC), "rcpc">;
def HasAltNZCV : Predicate<"Subtarget->hasAlternativeNZCV()">,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108293.368048.patch
Type: text/x-patch
Size: 1002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210823/661022d7/attachment.bin>
More information about the llvm-commits
mailing list