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

Felipe de Azevedo Piovezan via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 08:39:09 PDT 2023


================
@@ -3606,3 +3606,41 @@ bool llvm::inferAttributesFromOthers(Function &F) {
 
   return Changed;
 }
+
+DIExpression *llvm::getExpressionForConstant(DIBuilder &DIB, const Constant *C,
----------------
felipepiovezan wrote:

We never check if `C` or `Ty` are null, we can make these references

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


More information about the llvm-commits mailing list