[llvm] [AArch64][SVE] Handle some cases of uzp1/reinterpret from svbool in isZeroingInactiveLanes (PR #78623)
Usman Nadeem via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 7 17:09:22 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));
----------------
UsmanNadeem wrote:
Posted an instcombine version: https://github.com/llvm/llvm-project/pull/81069
https://github.com/llvm/llvm-project/pull/78623
More information about the llvm-commits
mailing list