1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple arm64e-apple-darwin -verify-machineinstrs -global-isel=0 | FileCheck %s
3 ; RUN: llc < %s -mtriple arm64e-apple-darwin -verify-machineinstrs -global-isel=1 -global-isel-abort=1 | FileCheck %s
4 ; RUN: llc < %s -mtriple aarch64-linux-gnu -mattr=+pauth -verify-machineinstrs -global-isel=0 | FileCheck %s
5 ; RUN: llc < %s -mtriple aarch64-linux-gnu -mattr=+pauth -verify-machineinstrs -global-isel=1 -global-isel-abort=1 | FileCheck %s
7 define i64 @test_sign_generic(i64 %arg, i64 %arg1) {
8 ; CHECK-LABEL: test_sign_generic:
10 ; CHECK-NEXT: pacga x0, x0, x1
12 %tmp = call i64 @llvm.ptrauth.sign.generic(i64 %arg, i64 %arg1)
16 declare i64 @llvm.ptrauth.sign.generic(i64, i64)