xref: /llvm-project/llvm/test/CodeGen/X86/multiple-return-values-cross-block.ll (revision 2f448bf509432c1a19ec46ab8cbc7353c03c6280)
1; RUN: llc < %s -mtriple=i686--
2
3declare {x86_fp80, x86_fp80} @test()
4
5define void @call2(ptr%P1, ptr%P2) {
6  %a = call {x86_fp80,x86_fp80} @test()
7  %b = extractvalue {x86_fp80,x86_fp80} %a, 1
8  store x86_fp80 %b, ptr %P1
9br label %L
10
11L:
12  %c = extractvalue {x86_fp80,x86_fp80} %a, 0
13  store x86_fp80 %c, ptr %P2
14  ret void
15}
16