mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-30 05:29:47 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182022 91177308-0d34-0410-b5e6-96231b3b80d8
21 lines
458 B
LLVM
21 lines
458 B
LLVM
; RUN: llc < %s -march=x86 -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(%0* %p) {
|
|
%1 = call fastcc %0 @ReturnBigStruct()
|
|
store %0 %1, %0* %p
|
|
ret void
|
|
}
|
|
|