[llvm] [DAGCombine] Propagate truncate to operands (PR #98666)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue May 6 06:17:46 PDT 2025
================
@@ -1040,6 +1040,8 @@ bool AMDGPUTargetLowering::isNarrowingProfitable(SDNode *N, EVT SrcVT,
case ISD::MUL:
case ISD::SETCC:
case ISD::SELECT:
+ if (DestVT.getScalarSizeInBits() == 1)
----------------
arsenm wrote:
getScalarType() == i1
https://github.com/llvm/llvm-project/pull/98666
More information about the llvm-commits
mailing list