Akira Hatanaka | 9029cf2 | 2011-08-11 22:42:31 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=mipsel < %s | FileCheck %s |
| 2 | |
Dan Gohman | 6b13cd4 | 2011-09-01 23:07:08 +0000 | [diff] [blame^] | 3 | ; byval is currently unsupported. |
| 4 | ; XFAIL: * |
| 5 | |
Akira Hatanaka | 9029cf2 | 2011-08-11 22:42:31 +0000 | [diff] [blame] | 6 | ; CHECK: .set macro |
| 7 | ; CHECK-NEXT: .cprestore |
| 8 | ; CHECK-NEXT: .set nomacro |
| 9 | |
| 10 | %struct.S = type { [16384 x i32] } |
| 11 | |
| 12 | define void @foo2() nounwind { |
| 13 | entry: |
| 14 | %s = alloca %struct.S, align 4 |
| 15 | call void @foo1(%struct.S* byval %s) |
| 16 | ret void |
| 17 | } |
| 18 | |
| 19 | declare void @foo1(%struct.S* byval) |