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

J. Ryan Stinnett via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 03:13:50 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
----------------
jryans wrote:

```suggestion
    // Try to create a debug constant expression for the global variable
```

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


More information about the llvm-commits mailing list