[win/asan] GetInstructionSize: Fix `83 E4 XX` to return 3. (#119644)
[llvm-project.git] / llvm / test / CodeGen / ARM / pacbti-indirect-tail-calls-module-flags2.ll
blobb2ae55c43c3390d776163129e24d495fecace051
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 {
7 entry:
8   %0 = tail call ptr asm "", "={r12},{r12},~{lr}"(ptr %fptr_arg)
9   tail call void %0()
10 ; CHECK: bx {{r0|r1|r2|r3}}
11   ret void
14 !llvm.module.flags = !{!1}
16 !1 = !{i32 8, !"sign-return-address", i32 1}
17 !2 = !{i32 8, !"sign-return-address-all", i32 1}