forked from OSchip/llvm-project
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
This commit is contained in:
parent
fd080af0c5
commit
d9e54a99f6
|
@ -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]])
|
||||
|
||||
|
|
Loading…
Reference in New Issue