================
@@ -999,7 +999,9 @@ class AArch64BtiPac final : public AArch64 {
 
 private:
   bool btiHeader; // bti instruction needed in PLT Header and Entry
-  bool pacEntry;  // autia1716 instruction needed in PLT Entry
+  bool pacEntry;  // Authenticated branch needed in PLT Entry
----------------
asl wrote:

maybe we can just have enum here instead of pair of bools? E.g.
``enum {
  Unsigned,
  SignedHint,  // use autia1716 instruction in PLT entry
  Signed // can use non-hint braa instruction
}
```

https://github.com/llvm/llvm-project/pull/113945
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to