blob: 569ba265487fe8d2b9bdcaa739158fce4f1c0a0c [file] [log] [blame]
Dan Gohman1b4c27772009-09-08 16:50:01 +00001; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
Tanya Lattner97928372008-03-19 07:28:33 +00003define void @_ZNKSt11__use_cacheISt16__numpunct_cacheIcEEclERKSt6locale() {
Dan Gohmanf17a25c2007-07-18 16:29:46 +00004entry:
Tanya Lattner97928372008-03-19 07:28:33 +00005 br i1 false, label %then, label %UnifiedReturnBlock
Dan Gohmanf17a25c2007-07-18 16:29:46 +00006then: ; preds = %entry
Tanya Lattner97928372008-03-19 07:28:33 +00007 invoke void @_Znwj( )
Dan Gohmanf17a25c2007-07-18 16:29:46 +00008 to label %UnifiedReturnBlock unwind label %UnifiedReturnBlock
Tanya Lattner97928372008-03-19 07:28:33 +00009UnifiedReturnBlock: ; preds = %then, %then, %entry
10 %UnifiedRetVal = phi i32* [ null, %entry ], [ null, %then ], [ null, %then ] ; <i32*> [#uses=0]
Dan Gohmanf17a25c2007-07-18 16:29:46 +000011 ret void
12}
13
Tanya Lattner97928372008-03-19 07:28:33 +000014declare void @_Znwj()
15