Skip to content

Commit 08f4e15

Browse files
committed
[test] Update SILOptimizer/OSLogFullOptTest.swift
After recent changes we have eliminated one of the retain/release pairs. rdar://71641343
1 parent 273ed98 commit 08f4e15

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/SILOptimizer/OSLogFullOptTest.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ func testNSObjectInterpolation(nsArray: NSArray) {
134134
// CHECK-NEXT: bitcast %TSo7NSArrayC* %0 to i8*
135135
// CHECK-NEXT: tail call i8* @llvm.objc.retain
136136
// CHECK-NEXT: [[NSARRAY_ARG:%.+]] = tail call i8* @llvm.objc.retain
137-
// CHECK: tail call %swift.refcounted* @swift_retain
138137
// CHECK: tail call swiftcc i1 @"${{.*}}isLoggingEnabled{{.*}}"()
139138
// CHECK-NEXT: br i1 {{%.*}}, label %[[ENABLED:[0-9]+]], label %[[NOT_ENABLED:[0-9]+]]
140139

@@ -183,7 +182,6 @@ func testNSObjectInterpolation(nsArray: NSArray) {
183182

184183
// CHECK: [[EXIT]]:
185184
// CHECK-NEXT: tail call void @llvm.objc.release(i8* [[NSARRAY_ARG]])
186-
// CHECK-NEXT: tail call void @swift_release
187185
// CHECK-NEXT: ret void
188186
}
189187

0 commit comments

Comments
 (0)