mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[NFC] Remove unused variable
This commit is contained in:
parent
66a4f3eb09
commit
27d3d1c9d2
@ -2844,7 +2844,6 @@ static bool unswitchLoop(Loop &L, DominatorTree &DT, LoopInfo &LI,
|
||||
ScalarEvolution *SE, MemorySSAUpdater *MSSAU) {
|
||||
assert(L.isRecursivelyLCSSAForm(DT, LI) &&
|
||||
"Loops must be in LCSSA form before unswitching.");
|
||||
bool Changed = false;
|
||||
|
||||
// Must be in loop simplified form: we need a preheader and dedicated exits.
|
||||
if (!L.isLoopSimplifyForm())
|
||||
@ -2876,7 +2875,7 @@ static bool unswitchLoop(Loop &L, DominatorTree &DT, LoopInfo &LI,
|
||||
return true;
|
||||
|
||||
// No other opportunities to unswitch.
|
||||
return Changed;
|
||||
return false;
|
||||
}
|
||||
|
||||
PreservedAnalyses SimpleLoopUnswitchPass::run(Loop &L, LoopAnalysisManager &AM,
|
||||
|
Loading…
x
Reference in New Issue
Block a user