63 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc --mtriple=x86_64-linux-gnu -run-pass=x86-return-thunks \3# RUN: -verify-machineinstrs %s -o - | FileCheck %s4--- |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 void11 }12 13 attributes #0 = { fn_ret_thunk_extern }14 15...16---17name: x18alignment: 1619exposesReturnsTwice: false20legalized: false21regBankSelected: false22selected: false23failedISel: false24tracksRegLiveness: true25hasWinCFI: false26failsVerification: false27tracksDebugUserValues: true28registers: []29liveins: []30frameInfo:31 isFrameAddressTaken: false32 isReturnAddressTaken: false33 hasStackMap: false34 hasPatchPoint: false35 stackSize: 036 offsetAdjustment: 037 maxAlignment: 138 adjustsStack: false39 hasCalls: false40 stackProtector: ''41 maxCallFrameSize: 042 cvBytesOfCalleeSavedRegisters: 043 hasOpaqueSPAdjustment: false44 hasVAStart: false45 hasMustTailInVarArgFunc: false46 hasTailCall: false47 localFrameSize: 048 savePoint: []49 restorePoint: []50fixedStack: []51stack: []52callSites: []53debugValueSubstitutions: []54constants: []55machineFunctionInfo: {}56body: |57 bb.0 (%ir-block.0):58 ; CHECK-LABEL: name: x59 ; CHECK: TAILJMPd &__x86_return_thunk, implicit $esp, implicit $ssp60 RET6461 62...63