diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-10-24 21:23:49 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-10-24 21:23:49 +0000 |
| commit | d9e54a99f6f4a66eab0a723e15888cf02520022e (patch) | |
| tree | f8461e6dbab30dd8f10b2b99d68e69e93c9d06e0 /clang/test/CodeGenObjCXX | |
| parent | fd080af0c5c2c75b0b69631dee1bc2449c081cb5 (diff) | |
| download | bcm5719-llvm-d9e54a99f6f4a66eab0a723e15888cf02520022e.tar.gz bcm5719-llvm-d9e54a99f6f4a66eab0a723e15888cf02520022e.zip | |
test: correct an overzealous search-and-replace
The temporary initialized is referenced as %0, not as the auto-release pool.
Fixes R+A tests.
llvm-svn: 220593
Diffstat (limited to 'clang/test/CodeGenObjCXX')
| -rw-r--r-- | clang/test/CodeGenObjCXX/arc-cxx11-init-list.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjCXX/arc-cxx11-init-list.mm b/clang/test/CodeGenObjCXX/arc-cxx11-init-list.mm index c3df97d00e3..7356b6e2a9a 100644 --- a/clang/test/CodeGenObjCXX/arc-cxx11-init-list.mm +++ b/clang/test/CodeGenObjCXX/arc-cxx11-init-list.mm @@ -51,7 +51,7 @@ std::initializer_list<I *> 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]]) |

