• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; 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(%struct) %tmp)
14  ret void
15}
16
17declare void @func()
18