blob: 60b4544bf44b04d4b01a70620ed8c78213b59ebc [file] [log] [blame]
Dan Gohmanb1e1e822009-09-08 16:50:01 +00001; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
Chris Lattner999b8142005-08-03 18:51:15 +00002
Tanya Lattnere6d5d392008-03-19 07:28:33 +00003declare fastcc i32 @ll_listnext__listiterPtr()
Chris Lattner999b8142005-08-03 18:51:15 +00004
Tanya Lattnere6d5d392008-03-19 07:28:33 +00005define fastcc i32 @WorkTask.fn() {
Chris Lattner999b8142005-08-03 18:51:15 +00006block0:
Tanya Lattnere6d5d392008-03-19 07:28:33 +00007 %v2679 = invoke fastcc i32 @ll_listnext__listiterPtr( )
8 to label %block9 unwind label %block8_exception_handling ; <i32> [#uses=1]
Chris Lattner999b8142005-08-03 18:51:15 +00009block8_exception_handling: ; preds = %block0
Tanya Lattnere6d5d392008-03-19 07:28:33 +000010 ret i32 0
Chris Lattner999b8142005-08-03 18:51:15 +000011block9: ; preds = %block0
Tanya Lattnere6d5d392008-03-19 07:28:33 +000012 %i_2689 = phi i32 [ %v2679, %block0 ] ; <i32> [#uses=1]
13 ret i32 %i_2689
Chris Lattner999b8142005-08-03 18:51:15 +000014}
Tanya Lattnere6d5d392008-03-19 07:28:33 +000015