From 9102e00d24a2149414a5b527dffd91f209153cad Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 29 Apr 2014 02:27:33 +0000 Subject: [PATCH] Make test independent of label. Thanks to Richard Smith for catching this! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207489 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenObjC/arc-linetable.m | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/CodeGenObjC/arc-linetable.m b/test/CodeGenObjC/arc-linetable.m index 553803d462..2d56ab3dfb 100644 --- a/test/CodeGenObjC/arc-linetable.m +++ b/test/CodeGenObjC/arc-linetable.m @@ -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]] -- 2.40.0