[AArch64,ELF] Restrict MOVZ/MOVK to non-PIC large code model (#70178)
[llvm-project.git] / llvm / test / CodeGen / X86 / fentry-ibt.ll
blobdc661b61ddfcdf424431fbf7bc142e29d6660008
1 ; RUN: llc %s -o - -verify-machineinstrs -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
3 define void @test1() #0 {
4 entry:
5   ret void
7 ; CHECK-LABEL: @test1
8 ; CHECK: endbr64
9 ; CHECK: callq __fentry__
10 ; CHECK-NOT: mcount
11 ; CHECK: retq
14 !llvm.module.flags = !{!0}
16 attributes #0 = { "fentry-call"="true" }
17 !0 = !{i32 8, !"cf-protection-branch", i32 1}