[llvm-branch-commits] [llvm] [AArch64][PAC] Lower authenticated calls with ptrauth bundles. (PR #85736)

Daniil Kovalev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed May 22 01:49:12 PDT 2024


================
@@ -0,0 +1,183 @@
+; RUN: llc -mtriple arm64e-apple-darwin -o - -global-isel -global-isel-abort=1 -verify-machineinstrs %s | FileCheck %s --check-prefixes=CHECK
----------------
kovdan01 wrote:

Please also add tests for ELF: `-mtriple aarch64 -mattr=+pauth`. Check directives are going be different for some cases, for example, personality encoding would be different, assembly syntax would have minor differences like comment style, function prologue/epilogue might change if we do not need to save frame pointer, labels might have different names, etc.

The call lowering itself looks agnostic to specific triple, but IMHO there should be tests which check that it works both for Apple triples and for a generic ELF triple. Also applies to other test files

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


More information about the llvm-branch-commits mailing list