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
7define i32 @test() nounwind {
8entry:
9;CHECK-LABEL:     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
18declare i32 @bar(%struct.foo_t* byval)
19