1 ; RUN: llc < %s -march=x86-64 -enable-eh
7 to label %return unwind label %unwind
9 unwind: ; preds = %entry
10 br i1 false, label %eh_then, label %cleanup20
12 eh_then: ; preds = %unwind
13 invoke void @__cxa_end_catch( )
14 to label %return unwind label %unwind10
16 unwind10: ; preds = %eh_then
17 %eh_select13 = tail call i64 (i8*, i8*, ...)* @llvm.eh.selector.i64( i8* null, i8* bitcast (void ()* @__gxx_personality_v0 to i8*), i32 1 ) ; <i32> [#uses=2]
18 %tmp18 = icmp slt i64 %eh_select13, 0 ; <i1> [#uses=1]
19 br i1 %tmp18, label %filter, label %cleanup20
21 filter: ; preds = %unwind10
24 cleanup20: ; preds = %unwind10, %unwind
25 %eh_selector.0 = phi i64 [ 0, %unwind ], [ %eh_select13, %unwind10 ] ; <i32> [#uses=0]
28 return: ; preds = %eh_then, %entry
34 declare i64 @llvm.eh.selector.i64(i8*, i8*, ...)
36 declare void @__gxx_personality_v0()
38 declare void @__cxa_end_catch()