mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
simplify; NFC
llvm-svn: 259323
This commit is contained in:
parent
2921b47c54
commit
9cba4166c0
@ -3043,14 +3043,11 @@ combineInstructionsOverFunction(Function &F, InstCombineWorklist &Worklist,
|
||||
DEBUG(dbgs() << "\n\nINSTCOMBINE ITERATION #" << Iteration << " on "
|
||||
<< F.getName() << "\n");
|
||||
|
||||
bool Changed = false;
|
||||
if (prepareICWorklistFromFunction(F, DL, &TLI, Worklist))
|
||||
Changed = true;
|
||||
bool Changed = prepareICWorklistFromFunction(F, DL, &TLI, Worklist);
|
||||
|
||||
InstCombiner IC(Worklist, &Builder, F.optForMinSize(),
|
||||
AA, &AC, &TLI, &DT, DL, LI);
|
||||
if (IC.run())
|
||||
Changed = true;
|
||||
InstCombiner IC(Worklist, &Builder, F.optForMinSize(), AA, &AC, &TLI, &DT,
|
||||
DL, LI);
|
||||
Changed |= IC.run();
|
||||
|
||||
if (!Changed)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user