[llvm] [IPSCCP] Variable not visible at Og: (PR #66745)

Carlos Alberto Enciso via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 3 06:43:02 PDT 2023


================
@@ -371,6 +372,52 @@ static bool runIPSCCP(
       StoreInst *SI = cast<StoreInst>(GV->user_back());
       SI->eraseFromParent();
     }
+
+    // Try to create a debug constant expression for the glbal variable
+    // initializer value.
----------------
CarlosAlbertoEnciso wrote:

Moving the code to a helper function.

https://github.com/llvm/llvm-project/pull/66745


More information about the llvm-commits mailing list