[AArch64,ELF] Restrict MOVZ/MOVK to non-PIC large code model (#70178)
[llvm-project.git] / llvm / test / CodeGen / X86 / x86-framelowering-trap.ll
blob89f4528fb06d7a1b23fc83d47550001d32aff286
1 ; RUN: llc %s -o - | FileCheck %s
2 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
3 target triple = "x86_64-unknown-linux-gnu"
5 ; CHECK-LABEL: bar:
6 ; CHECK: pushq
7 ; CHECK: ud2
8 ; CHECK-NEXT: popq
9 ; CHECK-NEXT: .cfi_def_cfa_offset 8
10 ; CHECK-NEXT: retq
11 define void @bar() {
12 entry:
13   call void @callee()
14   call void @llvm.trap()
15   ret void
18 ; Function Attrs: noreturn nounwind
19 declare void @llvm.trap()
21 declare void @callee()