blob: 1503e278c7da4410c824eeca94633357a3e848b0 [file] [log] [blame]
Daniel Cederman0c597ca2018-08-17 10:40:00 +00001; RUN: llc < %s -march=sparc
2
3; CHECK: call func
4; CHECK: st %i0, [%sp+64]
5; CHECK: unimp 8
6
7%struct = type { i32, i32 }
8
9define void @test() nounwind {
10entry:
11 %tmp = alloca %struct, align 4
12 call void bitcast (void ()* @func to void (%struct*)*)
13 (%struct* nonnull sret %tmp)
14 ret void
15}
16
17declare void @func()