source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 590 bytes
Line 
1; RUN: llc < %s
2; XFAIL: hexagon
3declare { i64, double } @wild()
4
5define void @foo(i64* %p, double* %q) nounwind personality i32 (...)* @__gxx_personality_v0 {
6        %t = invoke { i64, double } @wild() to label %normal unwind label %handler
7
8normal:
9        %mrv_gr = extractvalue { i64, double } %t, 0
10        store i64 %mrv_gr, i64* %p
11        %mrv_gr12681 = extractvalue { i64, double } %t, 1   
12        store double %mrv_gr12681, double* %q
13        ret void
14 
15handler:
16        %exn = landingpad {i8*, i32}
17                 catch i8* null
18        ret void
19}
20
21declare i32 @__gxx_personality_v0(...)
Note: See TracBrowser for help on using the repository browser.