[llvm] [llvm-exegesis] [AArch64] Resolving Illegal Instruction Error (PR #132346)

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 24 05:50:31 PDT 2025


================
@@ -35,6 +35,14 @@ const ExegesisTarget *ExegesisTarget::lookup(Triple TT) {
   return nullptr;
 }
 
+static bool isPointerAuthOpcode(unsigned Opcode) {
+  return (Opcode >= 1648 && Opcode <= 1667); // AUT instruction class range
----------------
davemgreen wrote:

Is this on a machine with FEAT_FPAC? It doesn't look from the pseudo code like there is an obvious way to stop them throwing exceptions, but I'm not an expert on these ones. As far as I can tell they would work on some machines (without FEAT_FPAC, because it just corrupts the pointers), but will throw exceptions on others.

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


More information about the llvm-commits mailing list