[PATCH] D121987: [EarlyCSE] Don't eagerly optimize MemoryUses
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 23 08:47:59 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG29fada4a3d3d: [EarlyCSE] Don't eagerly optimize MemoryUses (authored by nikic).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121987/new/
https://reviews.llvm.org/D121987
Files:
llvm/lib/Transforms/Scalar/EarlyCSE.cpp
Index: llvm/lib/Transforms/Scalar/EarlyCSE.cpp
===================================================================
--- llvm/lib/Transforms/Scalar/EarlyCSE.cpp
+++ llvm/lib/Transforms/Scalar/EarlyCSE.cpp
@@ -598,10 +598,7 @@
const TargetTransformInfo &TTI, DominatorTree &DT,
AssumptionCache &AC, MemorySSA *MSSA)
: TLI(TLI), TTI(TTI), DT(DT), AC(AC), SQ(DL, &TLI, &DT, &AC), MSSA(MSSA),
- MSSAUpdater(std::make_unique<MemorySSAUpdater>(MSSA)) {
- if (MSSA)
- MSSA->ensureOptimizedUses();
- }
+ MSSAUpdater(std::make_unique<MemorySSAUpdater>(MSSA)) {}
bool run();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121987.417643.patch
Type: text/x-patch
Size: 624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220323/1dffd533/attachment-0001.bin>
More information about the llvm-commits
mailing list