Skip to content

Commit 7940b46

Browse files
AlexMacleannikic
andauthored
Update llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Co-authored-by: Nikita Popov <[email protected]>
1 parent 8d6be44 commit 7940b46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,7 @@ Value *InstCombinerImpl::foldSelectWithConstOpToBinOp(ICmpInst *Cmp,
19071907
willNotOverflow(BinOpc, RHS, C2, *BinOpInst, /*IsSigned=*/true))
19081908
BinOpInst->setHasNoSignedWrap();
19091909
if (OldBinOp->hasNoUnsignedWrap() &&
1910-
willNotOverflow(BinOpc, RHS, C2, *BinOpInst, /*IsSigned*/ false))
1910+
willNotOverflow(BinOpc, RHS, C2, *BinOpInst, /*IsSigned=*/false))
19111911
BinOpInst->setHasNoUnsignedWrap();
19121912
}
19131913
}

0 commit comments

Comments
 (0)