[llvm] [AArch64] Remove all instances of the 'hasSVEorSME' interfaces. (PR #96543)
Sander de Smalen via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 03:17:04 PDT 2024
================
@@ -4359,7 +4359,9 @@ bool AArch64DAGToDAGISel::trySelectXAR(SDNode *N) {
// N1 = SRL_PRED true, V, splat(imm) --> rotr amount
// N0 = SHL_PRED true, V, splat(bits-imm)
// V = (xor x, y)
- if (VT.isScalableVector() && Subtarget->hasSVE2orSME()) {
+ if (VT.isScalableVector() &&
+ (Subtarget->hasSVE2() ||
+ (Subtarget->hasSME() && Subtarget->isStreaming()))) {
----------------
sdesmalen-arm wrote:
Sure, I'll make that in an NFC follow-up patch.
https://github.com/llvm/llvm-project/pull/96543
More information about the llvm-commits
mailing list