mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 07:31:47 +00:00
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:
parent
7ced638072
commit
340a05fb3a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user