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" 8 9 define void @x() #0 { 10 ret void 11 } 12 13 attributes #0 = { fn_ret_thunk_extern } 14 15... 16--- 17name: x 18alignment: 16 19exposesReturnsTwice: false 20legalized: false 21regBankSelected: false 22selected: false 23failedISel: false 24tracksRegLiveness: true 25hasWinCFI: false 26failsVerification: false 27tracksDebugUserValues: true 28registers: [] 29liveins: [] 30frameInfo: 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: '' 50fixedStack: [] 51stack: [] 52callSites: [] 53debugValueSubstitutions: [] 54constants: [] 55machineFunctionInfo: {} 56body: | 57 bb.0 (%ir-block.0): 58 ; CHECK-LABEL: name: x 59 ; CHECK: TAILJMPd &__x86_return_thunk, implicit $esp, implicit $ssp 60 RET64 61 62... 63