mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[SCCP] Add missing change reporting
Forgot to actually use the return value of the function.
This commit is contained in:
parent
d725c86409
commit
a35546a2b5
@ -1965,7 +1965,7 @@ bool llvm::runIPSCCP(
|
||||
/*PreserveLCSSA=*/false, &DTU);
|
||||
|
||||
for (BasicBlock &BB : F)
|
||||
removeNonFeasibleEdges(Solver, &BB, DTU);
|
||||
MadeChanges |= removeNonFeasibleEdges(Solver, &BB, DTU);
|
||||
|
||||
for (BasicBlock *DeadBB : BlocksToErase)
|
||||
DTU.deleteBB(DeadBB);
|
||||
|
Loading…
Reference in New Issue
Block a user