XFAIL test/CodeGen/Generic/MachineBranchProb.ll on Hexagon (PR23377)
[oota-llvm.git] / test / CodeGen / Generic / 2007-12-31-UnusedSelector.ll
index 00e027b8d3c8355c9bc1d3832e69141b61b51de4..d67559e4d8591133414f27fb1783f460deb5fdf1 100644 (file)
@@ -14,11 +14,14 @@ bb14:               ; preds = %lpad
        unreachable
 
 lpad:          ; preds = %entry
+        %lpad1 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+                  catch i8* null
        invoke void @__cxa_end_catch( )
                        to label %bb14 unwind label %lpad17
 
 lpad17:                ; preds = %lpad
-       %eh_select20 = tail call i32 (i8*, i8*, ...)* @llvm.eh.selector.i32( i8* null, i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*), i8* null )                ; <i32> [#uses=0]
+        %lpad2 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+                  catch i8* null
        unreachable
 
 UnifiedUnreachableBlock:               ; preds = %entry
@@ -27,8 +30,6 @@ UnifiedUnreachableBlock:              ; preds = %entry
 
 declare void @__cxa_throw(i8*, i8*, void (i8*)*) noreturn 
 
-declare i32 @llvm.eh.selector.i32(i8*, i8*, ...)
-
 declare void @__cxa_end_catch()
 
 declare i32 @__gxx_personality_v0(...)