From: Sanjoy Das Date: Fri, 25 Sep 2015 23:07:11 +0000 (+0000) Subject: Change arc-cxx11-init-list.mm to work with upcoming SCEV changes. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d65fe2059deb9ca1d6602bd4040c02cd28416a9;p=clang Change arc-cxx11-init-list.mm to work with upcoming SCEV changes. Summary: The store being checked for in arc-cxx11-init-list.mm is a store to an unescaped alloca. After an uncoming change to ScalarEvolution, LLVM is able to elide the store, so adjust the test accordingly. Reviewers: compnerd Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D13183 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248632 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenObjCXX/arc-cxx11-init-list.mm b/test/CodeGenObjCXX/arc-cxx11-init-list.mm index da214dc38a..230d0f197b 100644 --- a/test/CodeGenObjCXX/arc-cxx11-init-list.mm +++ b/test/CodeGenObjCXX/arc-cxx11-init-list.mm @@ -41,8 +41,6 @@ extern "C" void extended() { } // CHECK: [[INSTANCE:%.*]] = {{.*}} call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8*, i8*)*)(i8* {{.*}}, i8* {{.*}}) -// CHECK-NEXT: [[CAST:%.*]] = bitcast [1 x %0*]* %{{.*}} to i8** -// CHECK-NEXT: store i8* [[INSTANCE]], i8** [[CAST]], // CHECK: {{.*}} call void @_Z8externalv() // CHECK: {{.*}} call void @objc_release(i8* {{.*}})