]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHI.ll
Vendor import of llvm RELEASE_34/dot1-final tag r208032 (effectively, 3.4.1 release):
[FreeBSD/FreeBSD.git] / test / Transforms / LowerInvoke / 2005-08-03-InvokeWithPHI.ll
1 ; RUN: opt < %s -lowerinvoke -enable-correct-eh-support -disable-output
2
3 declare void @ll_listnext__listiterPtr()
4
5 define void @WorkTask.fn() {
6 block0:
7         invoke void @ll_listnext__listiterPtr( )
8                         to label %block9 unwind label %block8_exception_handling
9 block8_exception_handling:              ; preds = %block0
10         ret void
11 block9:         ; preds = %block0
12         %w_2690 = phi { i32, i32 }* [ null, %block0 ]           ; <{ i32, i32 }*> [#uses=1]
13         %tmp.129 = getelementptr { i32, i32 }* %w_2690, i32 0, i32 1            ; <i32*> [#uses=1]
14         %v2769 = load i32* %tmp.129             ; <i32> [#uses=0]
15         ret void
16 }
17