1 ; RUN: llvm-upgrade < %s | llvm-as | opt -lcssa
3 %struct.SetJmpMapEntry = type { sbyte*, uint, %struct.SetJmpMapEntry* }
5 implementation ; Functions:
7 void %__llvm_sjljeh_try_catching_longjmp_exception() {
11 loopentry: ; preds = %endif, %entry
12 %SJE.0 = phi %struct.SetJmpMapEntry* [ null, %entry ], [ %tmp.25, %endif ] ; <%struct.SetJmpMapEntry*> [#uses=1]
13 br bool false, label %no_exit, label %loopexit
15 no_exit: ; preds = %loopentry
16 br bool false, label %then, label %endif
18 then: ; preds = %no_exit
19 %tmp.21 = getelementptr %struct.SetJmpMapEntry* %SJE.0, int 0, uint 1 ; <uint*> [#uses=0]
22 endif: ; preds = %after_ret.0, %no_exit
23 %tmp.25 = load %struct.SetJmpMapEntry** null ; <%struct.SetJmpMapEntry*> [#uses=1]
26 loopexit: ; preds = %loopentry
29 return: ; preds = %after_ret.1, %loopexit, %then