Venkatraman Govindaraju | 0594789 | 2011-01-21 14:00:01 +0000 | [diff] [blame] | 1 | ;RUN: llc -march=sparc < %s | FileCheck %s |
| 2 | |
| 3 | %struct.foo_t = type { i32, i32, i32 } |
| 4 | |
| 5 | @s = internal unnamed_addr global %struct.foo_t { i32 10, i32 20, i32 30 } |
| 6 | |
| 7 | define i32 @test() nounwind { |
| 8 | entry: |
Stephen Lin | 6f36b45 | 2013-07-18 22:47:09 +0000 | [diff] [blame^] | 9 | ;CHECK-LABEL: test: |
Venkatraman Govindaraju | 0594789 | 2011-01-21 14:00:01 +0000 | [diff] [blame] | 10 | ;CHECK: st |
| 11 | ;CHECK: st |
| 12 | ;CHECK: st |
| 13 | ;CHECK: bar |
| 14 | %0 = tail call i32 @bar(%struct.foo_t* byval @s) nounwind |
| 15 | ret i32 %0 |
| 16 | } |
| 17 | |
| 18 | declare i32 @bar(%struct.foo_t* byval) |