[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
Mon Feb 5 09:00:09 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:
https://reviews.llvm.org/D141469#4057420 has some comments by @paulwalker-arm about how the actual "block" of type d/s/h/b is copied unmodified and there may be some bits in there that don't belong to the predicate type.
https://github.com/llvm/llvm-project/pull/78623
More information about the llvm-commits
mailing list