1 ; RUN: llvm-upgrade < %s | llvm-as | opt -lcssa | llvm-dis | grep "%SJE.0.0.lcssa = phi .struct.SetJmpMapEntry" &&
2 ; RUN: llvm-upgrade < %s | llvm-as | opt -lcssa | llvm-dis | grep "%SJE.0.0.lcssa1 = phi .struct.SetJmpMapEntry"
4 %struct.SetJmpMapEntry = type { sbyte*, uint, %struct.SetJmpMapEntry* }
6 implementation ; Functions:
8 void %__llvm_sjljeh_try_catching_longjmp_exception() {
10 br bool false, label %UnifiedReturnBlock, label %no_exit
12 no_exit: ; preds = %endif, %entry
13 %SJE.0.0 = phi %struct.SetJmpMapEntry* [ %tmp.24, %endif ], [ null, %entry ] ; <%struct.SetJmpMapEntry*> [#uses=1]
14 br bool false, label %then, label %endif
16 then: ; preds = %no_exit
17 %tmp.20 = getelementptr %struct.SetJmpMapEntry* %SJE.0.0, int 0, uint 1 ; <uint*> [#uses=0]
20 endif: ; preds = %no_exit
21 %tmp.24 = load %struct.SetJmpMapEntry** null ; <%struct.SetJmpMapEntry*> [#uses=1]
22 br bool false, label %UnifiedReturnBlock, label %no_exit
24 UnifiedReturnBlock: ; preds = %endif, %entry