[AArch64,ELF] Restrict MOVZ/MOVK to non-PIC large code model (#70178)
[llvm-project.git] / llvm / test / CodeGen / X86 / attr-function-return.mir
blob91c03e862182fb1920edca26823a0ee11ce541e5
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc --mtriple=x86_64-linux-gnu -run-pass=x86-return-thunks \
3 # RUN:   -verify-machineinstrs %s -o - | FileCheck %s
4 --- |
5   ; ModuleID = 'y.ll'
6   source_filename = "y.ll"
7   target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
9   define void @x() #0 {
10     ret void
11   }
13   attributes #0 = { fn_ret_thunk_extern }
15 ...
16 ---
17 name:            x
18 alignment:       16
19 exposesReturnsTwice: false
20 legalized:       false
21 regBankSelected: false
22 selected:        false
23 failedISel:      false
24 tracksRegLiveness: true
25 hasWinCFI:       false
26 failsVerification: false
27 tracksDebugUserValues: true
28 registers:       []
29 liveins:         []
30 frameInfo:
31   isFrameAddressTaken: false
32   isReturnAddressTaken: false
33   hasStackMap:     false
34   hasPatchPoint:   false
35   stackSize:       0
36   offsetAdjustment: 0
37   maxAlignment:    1
38   adjustsStack:    false
39   hasCalls:        false
40   stackProtector:  ''
41   maxCallFrameSize: 0
42   cvBytesOfCalleeSavedRegisters: 0
43   hasOpaqueSPAdjustment: false
44   hasVAStart:      false
45   hasMustTailInVarArgFunc: false
46   hasTailCall:     false
47   localFrameSize:  0
48   savePoint:       ''
49   restorePoint:    ''
50 fixedStack:      []
51 stack:           []
52 callSites:       []
53 debugValueSubstitutions: []
54 constants:       []
55 machineFunctionInfo: {}
56 body:             |
57   bb.0 (%ir-block.0):
58     ; CHECK-LABEL: name: x
59     ; CHECK: TAILJMPd &__x86_return_thunk, implicit $esp, implicit $ssp
60     RET64
62 ...