brintos

brintos / llvm-project-archived public Read only

0
0
Text · 854 B · 9effaa6 Raw
17 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple arm64e-apple-darwin             -verify-machineinstrs -global-isel=0 | FileCheck %s3; RUN: llc < %s -mtriple arm64e-apple-darwin             -verify-machineinstrs -global-isel=1 -global-isel-abort=1 | FileCheck %s4; RUN: llc < %s -mtriple aarch64-linux-gnu -mattr=+pauth -verify-machineinstrs -global-isel=0 | FileCheck %s5; RUN: llc < %s -mtriple aarch64-linux-gnu -mattr=+pauth -verify-machineinstrs -global-isel=1 -global-isel-abort=1 | FileCheck %s6 7define i64 @test_sign_generic(i64 %arg, i64 %arg1) {8; CHECK-LABEL: test_sign_generic:9; CHECK:       %bb.0:10; CHECK-NEXT:    pacga x0, x0, x111; CHECK-NEXT:    ret12  %tmp = call i64 @llvm.ptrauth.sign.generic(i64 %arg, i64 %arg1)13  ret i64 %tmp14}15 16declare i64 @llvm.ptrauth.sign.generic(i64, i64)17