Improve the grep commands for this test to be tolerant of ABI
[oota-llvm.git] / test / CodeGen / X86 / 2007-09-03-X86-64-EhSelector.ll
index c3ba839f34e4616112f04590651132ec1bf197cd..dac78800761153b7a6a506ae8d9a66a9c7687d1b 100644 (file)
@@ -14,15 +14,15 @@ eh_then:            ; preds = %unwind
                        to label %return unwind label %unwind10
 
 unwind10:              ; preds = %eh_then
-       %eh_select13 = tail call i32 (i8*, i8*, ...)* @llvm.eh.selector( i8* null, i8* bitcast (void ()* @__gxx_personality_v0 to i8*), i32 1 )         ; <i32> [#uses=2]
-       %tmp18 = icmp slt i32 %eh_select13, 0           ; <i1> [#uses=1]
+       %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]
+       %tmp18 = icmp slt i64 %eh_select13, 0           ; <i1> [#uses=1]
        br i1 %tmp18, label %filter, label %cleanup20
 
 filter:                ; preds = %unwind10
        unreachable
 
 cleanup20:             ; preds = %unwind10, %unwind
-       %eh_selector.0 = phi i32 [ 0, %unwind ], [ %eh_select13, %unwind10 ]            ; <i32> [#uses=0]
+       %eh_selector.0 = phi i64 [ 0, %unwind ], [ %eh_select13, %unwind10 ]            ; <i32> [#uses=0]
        ret void
 
 return:                ; preds = %eh_then, %entry
@@ -31,7 +31,7 @@ return:               ; preds = %eh_then, %entry
 
 declare void @_Z1gv()
 
-declare i32 @llvm.eh.selector(i8*, i8*, ...)
+declare i64 @llvm.eh.selector.i64(i8*, i8*, ...)
 
 declare void @__gxx_personality_v0()