aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGenObjC/exceptions.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGenObjC/exceptions.m b/test/CodeGenObjC/exceptions.m
index f8292dc7f1..b431e37124 100644
--- a/test/CodeGenObjC/exceptions.m
+++ b/test/CodeGenObjC/exceptions.m
@@ -119,14 +119,14 @@ void f3() {
// duplicating the finally block.
while (x) f3_helper(3, &x);
- // It's okay for this to turn into a test against 0.
- // CHECK: icmp eq i32 [[DEST2]], 5
- // CHECK: br i1
+ // This is a switch or maybe some chained branches, but relying
+ // on a specific result from the optimizer is really unstable.
+ // CHECK: [[DEST2]]
}
- // It's okay for this to turn into a test against 0.
- // CHECK: icmp eq i32 [[DEST1]], 3
- // CHECK: br i1
+ // This is a switch or maybe some chained branches, but relying
+ // on a specific result from the optimizer is really unstable.
+ // CHECK: [[DEST1]]
}
// CHECK: call void @f3_helper(i32 4, i32* [[X]])