[llvm] 632a89e - [SCCP] Restore the change reporting as well
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 25 06:12:04 PDT 2020
Author: Nikita Popov
Date: 2020-07-25T15:11:30+02:00
New Revision: 632a89e866f38e8fdfae7785ffa94fb2f302eefc
URL: https://github.com/llvm/llvm-project/commit/632a89e866f38e8fdfae7785ffa94fb2f302eefc
DIFF: https://github.com/llvm/llvm-project/commit/632a89e866f38e8fdfae7785ffa94fb2f302eefc.diff
LOG: [SCCP] Restore the change reporting as well
Reapply 5db5b4bc4394ca247c9eb665e03b851848aa2fbf.
Added:
Modified:
llvm/lib/Transforms/Scalar/SCCP.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Scalar/SCCP.cpp b/llvm/lib/Transforms/Scalar/SCCP.cpp
index 270524a00959..c4f5c522e450 100644
--- a/llvm/lib/Transforms/Scalar/SCCP.cpp
+++ b/llvm/lib/Transforms/Scalar/SCCP.cpp
@@ -1985,7 +1985,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);
More information about the llvm-commits
mailing list