[cfe-commits] r110770 - /cfe/trunk/test/CodeGenObjC/exceptions.m
John McCall
rjmccall at apple.com
Tue Aug 10 19:06:45 PDT 2010
Author: rjmccall
Date: Tue Aug 10 21:06:44 2010
New Revision: 110770
URL: http://llvm.org/viewvc/llvm-project?rev=110770&view=rev
Log:
Make this test a little less dependent on exact optimizer results.
Modified:
cfe/trunk/test/CodeGenObjC/exceptions.m
Modified: cfe/trunk/test/CodeGenObjC/exceptions.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/exceptions.m?rev=110770&r1=110769&r2=110770&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/exceptions.m (original)
+++ cfe/trunk/test/CodeGenObjC/exceptions.m Tue Aug 10 21:06:44 2010
@@ -119,14 +119,14 @@
// 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]])
More information about the cfe-commits
mailing list