mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-24 20:30:06 +00:00
Fix my previous patch (r163164). It does now what it is supposed to do:
Doesn't set MadeChange to TRUE if BypassSlowDivision doesn't change anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163165 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b2d20d060
commit
ed0e3a31e1
@ -245,7 +245,6 @@ bool bypassSlowDivision(Function &F,
|
||||
IntegerType *BypassType = cast<IntegerType>(BT->second);
|
||||
MadeChange |= reuseOrInsertFastDiv(F, I, J, BypassType, UseDivOp,
|
||||
UseSignedOp, DivCache);
|
||||
MadeChange = true;
|
||||
}
|
||||
|
||||
return MadeChange;
|
||||
|
Loading…
Reference in New Issue
Block a user