[llvm-branch-commits] [llvm] 0ee8801 - Revert "[DSE] Enable initializes improvement (#119116)"

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 11 09:00:38 PST 2024


Author: Haopeng Liu
Date: 2024-12-11T09:00:35-08:00
New Revision: 0ee88015429cde1517eb3c259b71d10e78dca940

URL: https://github.com/llvm/llvm-project/commit/0ee88015429cde1517eb3c259b71d10e78dca940
DIFF: https://github.com/llvm/llvm-project/commit/0ee88015429cde1517eb3c259b71d10e78dca940.diff

LOG: Revert "[DSE] Enable initializes improvement (#119116)"

This reverts commit ebe741fad07e3fda388d0fa44f256a07429cce6a.

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 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-branch-commits mailing list