[llvm] [AArch64][SDAG] Detect non-zeroes in truncating buildvectors in fshl lowering (PR #123597)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 04:45:30 PST 2025
================
@@ -7970,7 +7970,7 @@ static bool isNonZeroModBitWidthOrUndef(SDValue Z, unsigned BW) {
return ISD::matchUnaryPredicate(
Z,
[=](ConstantSDNode *C) { return !C || C->getAPIntValue().urem(BW) != 0; },
- true);
+ true, true);
----------------
RKSimon wrote:
`/*AllowUndefs=*/true, /*AllowTrunc=*/true`
https://github.com/llvm/llvm-project/pull/123597
More information about the llvm-commits
mailing list