[llvm] [IR][AArch64] Add "ptrauth(...)" Constant to represent signed pointers. (PR #85738)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 04:14:33 PDT 2024


================
@@ -6993,6 +6997,9 @@ static bool isGuaranteedNotToBeUndefOrPoison(
         isa<ConstantPointerNull>(C) || isa<Function>(C))
       return true;
 
+    if (isa<ConstantPtrAuth>(C))
+      return true;
----------------
nikic wrote:

This doesn't look right, what if the base constant is poison?

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


More information about the llvm-commits mailing list