1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 00:12:50 +01:00
llvm-mirror/test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll

16 lines
506 B
LLVM
Raw Normal View History

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