mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
65fd6564b8
across calls, and only check for nested dependences on the special call-sequence-resource register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143660 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
316 B
LLVM
17 lines
316 B
LLVM
; RUN: llc -march=mipsel < %s | FileCheck %s
|
|
|
|
; CHECK: .set macro
|
|
; CHECK-NEXT: .cprestore
|
|
; CHECK-NEXT: .set nomacro
|
|
|
|
%struct.S = type { [16384 x i32] }
|
|
|
|
define void @foo2() nounwind {
|
|
entry:
|
|
%s = alloca %struct.S, align 4
|
|
call void @foo1(%struct.S* byval %s)
|
|
ret void
|
|
}
|
|
|
|
declare void @foo1(%struct.S* byval)
|