Temporarily disable a buggy transformation until it can be fixed. This fixes

254.gap.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16853 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-10-08 19:15:44 +00:00
parent 7ced638072
commit 340a05fb3a

View File

@ -2146,6 +2146,11 @@ Instruction *InstCombiner::visitSetCondInst(BinaryOperator &I) {
LoOverflow = HiOverflow = ProdOV;
HiBound = cast<ConstantInt>(ConstantExpr::getSub(Prod, DivRHS));
}
/// FIXME: This code is disabled, because we do not compile the
/// divisor case < 0 correctly. For example, this code is incorrect
/// in the case of "X/-10 < 1".
LoBound = 0;
}
if (LoBound) {