[llvm] [GlobalOpt] Bail out for ConstantPtrAuth in isSimpleEnoughtToCommit. (PR #143400)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 11 12:50:15 PDT 2025


================
@@ -74,6 +74,9 @@ isSimpleEnoughValueToCommitHelper(Constant *C,
     return true;
   }
 
+  if (isa<ConstantPtrAuth>(C))
----------------
fhahn wrote:

Added tests with the different constants

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


More information about the llvm-commits mailing list