[SCCP] Add missing change reporting

Forgot to actually use the return value of the function.
This commit is contained in:
Nikita Popov 2020-07-23 20:58:03 +02:00
parent ee6f0e109c
commit 5db5b4bc43
1 changed files with 1 additions and 1 deletions

View File

@ -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);