[llvm] 70503ae - [DSE] Don't eagerly optimize MemorySSA uses
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 14:09:56 PDT 2023
Author: Arthur Eubanks
Date: 2023-07-06T14:09:47-07:00
New Revision: 70503aeea73852402a9a858028544a942070fc88
URL: https://github.com/llvm/llvm-project/commit/70503aeea73852402a9a858028544a942070fc88
DIFF: https://github.com/llvm/llvm-project/commit/70503aeea73852402a9a858028544a942070fc88.diff
LOG: [DSE] Don't eagerly optimize MemorySSA uses
Compile time improvements:
https://llvm-compile-time-tracker.com/compare.php?from=a4a2b62495a63516a4f782acff1b19361906546b&to=a408521f71702a5c5fb65077adc23413d8631cfc&stat=instructions:u
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D152744
Added:
Modified:
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
index d0c249f7360063..d3fbe49439a80b 100644
--- a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
+++ b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
@@ -2069,7 +2069,6 @@ static bool eliminateDeadStores(Function &F, AliasAnalysis &AA, MemorySSA &MSSA,
const LoopInfo &LI) {
bool MadeChange = false;
- MSSA.ensureOptimizedUses();
DSEState State(F, AA, MSSA, DT, PDT, AC, TLI, LI);
// For each store:
for (unsigned I = 0; I < State.MemDefs.size(); I++) {
More information about the llvm-commits
mailing list