1 ; RUN: llc -mtriple=thumbv8.1m.main-none-none-eabi -mattr=+pacbti< %s | FileCheck %s
3 target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64"
4 target triple = "thumbv8.1m.main-m.main-unknown"
6 define dso_local void @sgign_return_address_all(ptr noundef readonly %fptr_arg) local_unnamed_addr #0 {
8 %0 = tail call ptr asm "", "={r12},{r12},~{lr}"(ptr %fptr_arg)
10 ; CHECK: bx {{r0|r1|r2|r3}}
14 !llvm.module.flags = !{!1}
16 !1 = !{i32 8, !"sign-return-address", i32 1}
17 !2 = !{i32 8, !"sign-return-address-all", i32 1}