From: Saleem Abdulrasool Date: Fri, 24 Oct 2014 21:23:49 +0000 (+0000) Subject: test: correct an overzealous search-and-replace X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2905e06e3816090ab7a87cd20a327bbb0a69f313;p=clang test: correct an overzealous search-and-replace The temporary initialized is referenced as %0, not as the auto-release pool. Fixes R+A tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220593 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenObjCXX/arc-cxx11-init-list.mm b/test/CodeGenObjCXX/arc-cxx11-init-list.mm index c3df97d00e..7356b6e2a9 100644 --- a/test/CodeGenObjCXX/arc-cxx11-init-list.mm +++ b/test/CodeGenObjCXX/arc-cxx11-init-list.mm @@ -51,7 +51,7 @@ std::initializer_list il = { [I new] }; // CHECK: [[POOL:%.*]] = {{.*}} call {{.*}} i8* @objc_autoreleasePoolPush() // CHECK: [[INSTANCE:%.*]] = {{.*}} call {{.*}} i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8*, i8*)*)(i8* {{.*}}, i8* {{.*}}) -// CHECK-NEXT: [[CAST:%.*]] = bitcast i8* [[INSTANCE]] to [[POOL]]* -// CHECK-NEXT: store [[POOL]]* [[CAST]], [[POOL]]** getelementptr inbounds ([1 x [[POOL]]*]* @_ZGR2il_, i32 0, i32 0) +// CHECK-NEXT: [[CAST:%.*]] = bitcast i8* [[INSTANCE]] to %0* +// CHECK-NEXT: store %0* [[CAST]], %0** getelementptr inbounds ([1 x %0*]* @_ZGR2il_, i32 0, i32 0) // CHECK: {{.*}} call {{.*}} void @objc_autoreleasePoolPop(i8* [[POOL]])