[llvm] [AArch64] Don't use LowerToPredicatedOp to shufflevector -> SVE lowerings (PR #140713)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Thu May 22 04:54:59 PDT 2025
================
@@ -29773,36 +29773,35 @@ SDValue AArch64TargetLowering::LowerFixedLengthVECTOR_SHUFFLEToSVE(
return convertFromScalableVector(DAG, VT, Op);
}
+ auto lowerToRevMergePassthru = [&](unsigned Opcode, SDValue Vec,
+ EVT PredVecVT, EVT RevVT) {
----------------
paulwalker-arm wrote:
I don't like the lambda here because there's an untidy mix of implicit and explicit parameters but above all it makes the second use overly complicated because it does not need the bitcasts. This will be further compounded if/when we decide to fix the predicate used for the non-revd case.
https://github.com/llvm/llvm-project/pull/140713
More information about the llvm-commits
mailing list