[llvm] [AArch64][SVE] Handle some cases of uzp1/reinterpret from svbool in isZeroingInactiveLanes (PR #78623)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 5 09:29:10 PST 2024


================
@@ -283,6 +283,24 @@ static bool isZeroingInactiveLanes(SDValue Op) {
     switch (Op.getConstantOperandVal(0)) {
     default:
       return false;
+
+    case Intrinsic::aarch64_sve_uzp1:
+      return isZeroingInactiveLanes(Op.getOperand(1)) &&
+             isZeroingInactiveLanes(Op.getOperand(2));
----------------
efriedma-quic wrote:

Oh, I see, yes, you're right.

https://github.com/llvm/llvm-project/pull/78623


More information about the llvm-commits mailing list