Venkatraman Govindaraju | 4671329 | 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: | ||||
9 | ;CHECK: test | ||||
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) |