[llvm-branch-commits] [cfe-branch] r111413 - /cfe/branches/Apple/williamson/test/CodeGenObjC/exceptions.m

Daniel Dunbar daniel at zuster.org
Wed Aug 18 13:33:40 PDT 2010


Author: ddunbar
Date: Wed Aug 18 15:33:40 2010
New Revision: 111413

URL: http://llvm.org/viewvc/llvm-project?rev=111413&view=rev
Log:
Merge r110770:
--
Author: John McCall <rjmccall at apple.com>
Date:   Wed Aug 11 02:06:44 2010 +0000

    Make this test a little less dependent on exact optimizer results.

Modified:
    cfe/branches/Apple/williamson/test/CodeGenObjC/exceptions.m

Modified: cfe/branches/Apple/williamson/test/CodeGenObjC/exceptions.m
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/williamson/test/CodeGenObjC/exceptions.m?rev=111413&r1=111412&r2=111413&view=diff
==============================================================================
--- cfe/branches/Apple/williamson/test/CodeGenObjC/exceptions.m (original)
+++ cfe/branches/Apple/williamson/test/CodeGenObjC/exceptions.m Wed Aug 18 15:33:40 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 llvm-branch-commits mailing list