Skip to content

Commit fabdd7f

Browse files
committed
[Test] Loosened check lines.
The metatype param may or may not be removed from the callee during specialization. If it is, there is only one argument, if it is not, there are two arguments. None of that is relevant to this test case. It is just verifying that the strong_retain occurs before the apply.
1 parent ef838e4 commit fabdd7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation-test/SILOptimizer/rdar114699006.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
// CHECK: [[BRIDGE_STORAGE:%[^,]+]] = struct $_BridgeStorage<__ContiguousArrayStorageBase> ([[BRIDGE_OBJECT]] :
2929
// CHECK: [[ARRAY_BUFFER:%[^,]+]] = struct $_ArrayBuffer<(String, String)> ([[BRIDGE_STORAGE]] :
3030
// CHECK: [[ARRAY:%[^,]+]] = struct $Array<(String, String)> ([[ARRAY_BUFFER]] :
31-
// CHECK: [[DICTIONARY_INIT:%[^,]+]] = function_ref @$sSD17dictionaryLiteralSDyxq_Gx_q_td_tcfCSS_SSTg5
31+
// CHECK: [[DICTIONARY_INIT:%[^,]+]] = function_ref @$sSD17dictionaryLiteralSDyxq_Gx_q_td_tcfCSS_SSTg{{m?}}5
3232
// CHECK-NEXT: strong_retain [[REF]] : $__EmptyArrayStorage
33-
// CHECK-NEXT: apply [[DICTIONARY_INIT]]([[ARRAY]], {{.*}})
33+
// CHECK-NEXT: apply [[DICTIONARY_INIT]]([[ARRAY]]
3434
// CHECK-LABEL: } // end sil function '$s4main1CCACycfc'
3535

3636
class C {

0 commit comments

Comments
 (0)