llvm-6502/test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll
Chris Lattner 5ae21fb23a rename *.llx -> *.ll, last batch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49971 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-19 22:32:52 +00:00

16 lines
516 B
LLVM

; RUN: llvm-as < %s | opt -lowerinvoke -enable-correct-eh-support -disable-output
define void @_ZNKSt11__use_cacheISt16__numpunct_cacheIcEEclERKSt6locale() {
entry:
br i1 false, label %then, label %UnifiedReturnBlock
then: ; preds = %entry
invoke void @_Znwj( )
to label %UnifiedReturnBlock unwind label %UnifiedReturnBlock
UnifiedReturnBlock: ; preds = %then, %then, %entry
%UnifiedRetVal = phi i32* [ null, %entry ], [ null, %then ], [ null, %then ] ; <i32*> [#uses=0]
ret void
}
declare void @_Znwj()