Skip to content

Commit 755732e

Browse files
AZero13dtcxzyw
andauthored
Update InstCombineSelect.cpp
Co-authored-by: Yingwei Zheng <[email protected]>
1 parent 3ca865a commit 755732e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,6 @@ static Value *canonicalizeSaturatedAddSigned(ICmpInst *Cmp, Value *TVal,
11681168
APInt::getSignedMaxValue(Cmp1->getType()->getScalarSizeInBits());
11691169

11701170
// For SGE, try to flip to SGT to normalize the comparison constant.
1171-
const APInt *FlippedC = nullptr;
11721171
if (Pred == ICmpInst::ICMP_SGE) {
11731172
if (auto Flipped = getFlippedStrictnessPredicateAndConstant(
11741173
Pred, cast<Constant>(Cmp1))) {

0 commit comments

Comments
 (0)