[llvm] Revert "[DSE] Enable initializes improvement" (PR #119590)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 11 09:01:31 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
Author: Haopeng Liu (haopliu)
<details>
<summary>Changes</summary>
Reverts llvm/llvm-project#<!-- -->119116
---
Full diff: https://github.com/llvm/llvm-project/pull/119590.diff
1 Files Affected:
- (modified) llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp (+2-2)
``````````diff
diff --git a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
index 778f83b7925691..09e8301b772d96 100644
--- a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
+++ b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
@@ -164,9 +164,9 @@ static cl::opt<bool>
OptimizeMemorySSA("dse-optimize-memoryssa", cl::init(true), cl::Hidden,
cl::desc("Allow DSE to optimize memory accesses."));
-// TODO: remove this flag.
+// TODO: turn on and remove this flag.
static cl::opt<bool> EnableInitializesImprovement(
- "enable-dse-initializes-attr-improvement", cl::init(true), cl::Hidden,
+ "enable-dse-initializes-attr-improvement", cl::init(false), cl::Hidden,
cl::desc("Enable the initializes attr improvement in DSE"));
//===----------------------------------------------------------------------===//
``````````
</details>
https://github.com/llvm/llvm-project/pull/119590
More information about the llvm-commits
mailing list