diff options
author | Stephen Lin <stephenwlin@gmail.com> | 2013-08-15 06:47:53 +0000 |
---|---|---|
committer | Stephen Lin <stephenwlin@gmail.com> | 2013-08-15 06:47:53 +0000 |
commit | 93ab6bf534fb6c26563c00f28a8fc5581bb71dfd (patch) | |
tree | 938e985e9673d1b0d289e8ed751943edc097da1d /test/CodeGenObjC/arc-ternary-op.m | |
parent | 233fbe1f56183878167a56be53425a6dd25ba334 (diff) |
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjC/arc-ternary-op.m')
-rw-r--r-- | test/CodeGenObjC/arc-ternary-op.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGenObjC/arc-ternary-op.m b/test/CodeGenObjC/arc-ternary-op.m index f70e8864a0..217db80194 100644 --- a/test/CodeGenObjC/arc-ternary-op.m +++ b/test/CodeGenObjC/arc-ternary-op.m @@ -3,7 +3,7 @@ void test0(_Bool cond) { id test0_helper(void) __attribute__((ns_returns_retained)); - // CHECK: define void @test0( + // CHECK-LABEL: define void @test0( // CHECK: [[COND:%.*]] = alloca i8, // CHECK-NEXT: [[X:%.*]] = alloca i8*, // CHECK-NEXT: [[RELVAL:%.*]] = alloca i8* @@ -40,7 +40,7 @@ void test1(int cond) { test1_sink(cond ? &strong : 0); test1_sink(cond ? &weak : 0); - // CHECK: define void @test1( + // CHECK-LABEL: define void @test1( // CHECK: [[COND:%.*]] = alloca i32 // CHECK-NEXT: [[STRONG:%.*]] = alloca i8* // CHECK-NEXT: [[WEAK:%.*]] = alloca i8* @@ -106,7 +106,7 @@ void test2(int cond) { for (id obj in cond ? test2_producer() : (void*) 0) { } - // CHECK: define void @test2( + // CHECK-LABEL: define void @test2( // CHECK: [[COND:%.*]] = alloca i32, // CHECK: alloca i8* // CHECK: [[CLEANUP_SAVE:%.*]] = alloca i8* |