@@ -58,11 +58,9 @@ public func testMutableArray() {
5858 // CHECK: [[POINTER:%.+]] = struct $UnsafeMutableRawPointer (
5959 // CHECK-NEXT: [[DEP_POINTER:%.+]] = mark_dependence [[POINTER]] : $UnsafeMutableRawPointer on {{.*}} : $__ContiguousArrayStorageBase
6060 // CHECK: [[FN:%.+]] = function_ref @takesMutableRawPointer
61- // CHECK: strong_retain {{%.+}} : ${{Builtin[.]BridgeObject|__ContiguousArrayStorageBase}}
6261 // CHECK: apply [[FN]]([[DEP_POINTER]])
6362 // CHECK-NOT: {{^bb[0-9]+:}}
6463 // CHECK: strong_release {{%.+}} : ${{Builtin[.]BridgeObject|__ContiguousArrayStorageBase}}
65- // CHECK: strong_release {{%.+}} : ${{Builtin[.]BridgeObject|__ContiguousArrayStorageBase}}
6664 // CHECK: dealloc_stack {{%.+}} : $*Array<Int>
6765 // CHECK-NEXT: [[EMPTY:%.+]] = tuple ()
6866 // CHECK-NEXT: return [[EMPTY]]
@@ -76,11 +74,9 @@ public func testMutableArrayToOptional() {
7674 // CHECK-NEXT: [[DEP_POINTER:%.+]] = mark_dependence [[POINTER]] : $UnsafeMutableRawPointer on {{.*}} : $__ContiguousArrayStorageBase
7775 // CHECK-NEXT: [[OPT_POINTER:%.+]] = enum $Optional<UnsafeMutableRawPointer>, #Optional.some!enumelt, [[DEP_POINTER]]
7876 // CHECK: [[FN:%.+]] = function_ref @takesOptMutableRawPointer
79- // CHECK: strong_retain {{%.+}} : ${{Builtin[.]BridgeObject|__ContiguousArrayStorageBase}}
8077 // CHECK: apply [[FN]]([[OPT_POINTER]])
8178 // CHECK-NOT: {{^bb[0-9]+:}}
8279 // CHECK: strong_release {{%.+}} : ${{Builtin[.]BridgeObject|__ContiguousArrayStorageBase}}
83- // CHECK: strong_release {{%.+}} : ${{Builtin[.]BridgeObject|__ContiguousArrayStorageBase}}
8480 // CHECK: dealloc_stack {{%.+}} : $*Array<Int>
8581 // CHECK-NEXT: [[EMPTY:%.+]] = tuple ()
8682 // CHECK-NEXT: return [[EMPTY]]
0 commit comments