summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorIgor Laevsky <igmyrj@gmail.com>2015-11-18 14:40:41 +0000
committerIgor Laevsky <igmyrj@gmail.com>2015-11-18 14:40:41 +0000
commit27e67986afb401d8d120c6aa5d69f053a430311f (patch)
tree8327351b292d1716c1531c550fa26216f954ec6d /clang
parent4c3baeb6865ddd1e6ae7cf0e01b1e79a60661740 (diff)
downloadbcm5719-llvm-27e67986afb401d8d120c6aa5d69f053a430311f.tar.gz
bcm5719-llvm-27e67986afb401d8d120c6aa5d69f053a430311f.zip
Fix tests in order for them to not fail after r252604.
Some expected attributes appear to be incorrect after optimizations are run and llvm will strip them. Use -O0 so that llvm will not have a chance to remove them. llvm-svn: 253458
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CodeGenObjC/optimize-ivar-offset-load.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/optimize-ivar-offset-load.m b/clang/test/CodeGenObjC/optimize-ivar-offset-load.m
index 0317c094033..6a073dbd29c 100644
--- a/clang/test/CodeGenObjC/optimize-ivar-offset-load.m
+++ b/clang/test/CodeGenObjC/optimize-ivar-offset-load.m
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -Os -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -O0 -emit-llvm %s -o - | FileCheck %s
// rdar://16095748
@interface NSObject
@@ -31,7 +31,7 @@ extern void foo(int);
// CHECK: [[ADDPTR:%.*]] = getelementptr inbounds i8, i8* [[THREE]], i64 [[IVAR]]
// CHECK: [[FOUR:%.*]] = bitcast i8* [[ADDPTR]] to i32*
// CHECK: [[FIVE:%.*]] = load i32, i32* [[FOUR]], align 4
-// CHECK: tail call void @foo(i32 [[FIVE]])
+// CHECK: call void @foo(i32 [[FIVE]])
@implementation SampleClass
+ (SampleClass*) new { return 0; }
OpenPOWER on IntegriCloud