mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Unbreak the build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71091 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2030,7 +2030,7 @@ ICmpInst *LoopStrengthReduce::ChangeCompareStride(Loop *L, ICmpInst *Cond,
|
|||||||
APInt Mul = APInt(BitWidth*2, CmpVal, true);
|
APInt Mul = APInt(BitWidth*2, CmpVal, true);
|
||||||
Mul = Mul * APInt(BitWidth*2, Scale, true);
|
Mul = Mul * APInt(BitWidth*2, Scale, true);
|
||||||
// Check for overflow.
|
// Check for overflow.
|
||||||
if (!Mul.isSignedIntN(BitWidth)) {
|
if (!Mul.isSignedIntN(BitWidth))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Watch out for overflow.
|
// Watch out for overflow.
|
||||||
|
Reference in New Issue
Block a user