Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Transforms / LowerInvoke / 2004-02-29-PHICrash.llx
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -lowerinvoke -enable-correct-eh-support -disable-output
2
3 void %_ZNKSt11__use_cacheISt16__numpunct_cacheIcEEclERKSt6locale() {
4 entry:
5         br bool false, label %then, label %UnifiedReturnBlock
6
7 then:           ; preds = %entry
8         invoke void %_Znwj( )
9                         to label %UnifiedReturnBlock unwind label %UnifiedReturnBlock
10
11 UnifiedReturnBlock:             ; preds = %entry, %then, %then
12         %UnifiedRetVal = phi int* [ null, %entry ], [ null, %then ], [ null, %then ]
13         ret void
14 }
15
16 declare void %_Znwj()