forked from OSchip/llvm-project
[SCCP] Add missing change reporting
Forgot to actually use the return value of the function.
This commit is contained in:
parent
ee6f0e109c
commit
5db5b4bc43
|
@ -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