[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / Thumb2 / bti-entry-blocks.ll
blob1c89e60bc6a549430840d65ef3c29a66f72ecab2
1 ; RUN: llc < %s -mtriple=thumbv7m-arm-none-eabi | FileCheck %s
3 define hidden i32 @linkage_external() local_unnamed_addr {
4 ; CHECK-LABEL: linkage_external:
5 ; CHECK: bti
6 ; CHECK-NEXT: movs r0, #1
7 ; CHECK-NEXT: bx lr
8 entry:
9   ret i32 1
12 define internal i32 @linkage_internal() unnamed_addr {
13 ; CHECK-LABEL: linkage_internal:
14 ; CHECK: bti
15 ; CHECK: movs r0, #2
16 ; CHECK-NEXT: bx lr
17 entry:
18   ret i32 2
21 !llvm.module.flags = !{!1}
22 !1 = !{i32 8, !"branch-target-enforcement", i32 1}