
Test updates were performed using: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only the test updates where the test passed without further modification (which is almost all of them, as the backend is largely pointer-type agnostic).
21 lines
447 B
LLVM
21 lines
447 B
LLVM
; RUN: llc < %s -mtriple=i686-pc-linux-gnu | FileCheck %s
|
|
|
|
; CHECK: .cfi_startproc
|
|
; CHECK: .cfi_def_cfa_offset 8
|
|
; CHECK: .cfi_def_cfa_offset 12
|
|
; CHECK: .cfi_def_cfa_offset 32
|
|
; CHECK: .cfi_offset %esi, -12
|
|
; CHECK: .cfi_offset %edi, -8
|
|
; CHECK: .cfi_endproc
|
|
|
|
%0 = type { i64, i64 }
|
|
|
|
declare fastcc %0 @ReturnBigStruct() nounwind readnone
|
|
|
|
define void @test(ptr %p) {
|
|
%1 = call fastcc %0 @ReturnBigStruct()
|
|
store %0 %1, ptr %p
|
|
ret void
|
|
}
|
|
|