r207489 - Make test independent of label. Thanks to Richard Smith for catching this!
Adrian Prantl
aprantl at apple.com
Mon Apr 28 19:27:33 PDT 2014
Author: adrian
Date: Mon Apr 28 21:27:33 2014
New Revision: 207489
URL: http://llvm.org/viewvc/llvm-project?rev=207489&view=rev
Log:
Make test independent of label. Thanks to Richard Smith for catching this!
Modified:
cfe/trunk/test/CodeGenObjC/arc-linetable.m
Modified: cfe/trunk/test/CodeGenObjC/arc-linetable.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/arc-linetable.m?rev=207489&r1=207488&r2=207489&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/arc-linetable.m (original)
+++ cfe/trunk/test/CodeGenObjC/arc-linetable.m Mon Apr 28 21:27:33 2014
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -fblocks -fobjc-arc -g -triple x86_64-apple-darwin10 %s -o - | opt -instnamer -S | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm -fblocks -fobjc-arc -g -triple x86_64-apple-darwin10 %s -o - | FileCheck %s
// Legend: EXP = Return expression, RET = ret instruction
@@ -34,9 +34,7 @@
// CHECK: define {{.*}}testCleanupVoid
// CHECK: icmp ne {{.*}}!dbg ![[SKIP1:[0-9]+]]
-// CHECK-NEXT: br {{.*}}, label %[[CLEANUP:.*]], label
-// CHECK: [[CLEANUP]]:
-// CHECK-NEXT: !dbg ![[RET8:[0-9]+]]
+// CHECK: store i32 0, i32* {{.*}}, !dbg ![[RET8:[0-9]+]]
// CHECK: @objc_storeStrong{{.*}}, !dbg ![[ARC8:[0-9]+]]
// CHECK: ret {{.*}} !dbg ![[RET8]]
More information about the cfe-commits
mailing list