Skip to content

Commit 59fe55f

Browse files
committed
Remove Manual combine-to
1 parent 059d90d commit 59fe55f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/ARM/ARMISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20178,7 +20178,7 @@ bool ARMTargetLowering::targetShrinkDemandedConstant(
2017820178
// code won't do this, so we have to do it explicitly to avoid an infinite
2017920179
// loop in obscure cases.)
2018020180
if (ExpandedMask == ~0U)
20181-
return TLO.CombineTo(Op, Op.getOperand(0));
20181+
return false;
2018220182

2018320183
auto IsLegalMask = [ShrunkMask, ExpandedMask](unsigned Mask) -> bool {
2018420184
return (ShrunkMask & Mask) == ShrunkMask && (~ExpandedMask & Mask) == 0;

0 commit comments

Comments
 (0)