[llvm] Revert "[DSE] Enable initializes improvement" (PR #119590)
Haopeng Liu via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 11 09:00:52 PST 2024
https://github.com/haopliu created https://github.com/llvm/llvm-project/pull/119590
Reverts llvm/llvm-project#119116
>From 0ee88015429cde1517eb3c259b71d10e78dca940 Mon Sep 17 00:00:00 2001
From: Haopeng Liu <153236845+haopliu at users.noreply.github.com>
Date: Wed, 11 Dec 2024 09:00:35 -0800
Subject: [PATCH] Revert "[DSE] Enable initializes improvement (#119116)"
This reverts commit ebe741fad07e3fda388d0fa44f256a07429cce6a.
---
llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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"));
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list