1
0
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:
Nikita Popov 2020-07-23 20:58:03 +02:00
parent d725c86409
commit a35546a2b5

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