Skip to content

Commit c1c3f76

Browse files
committed
tests: fix SILOptimizer/rdar114699006.swift after a mangling change
Also enable this test for all 64 bit platforms, like arm64
1 parent eb88991 commit c1c3f76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation-test/SILOptimizer/rdar114699006.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// RUN: -Xllvm -sil-print-function='$s4main1CCACycfc' \
1010
// RUN: 2>&1 | %FileCheck %s
1111

12-
// REQUIRES: CPU=x86_64
12+
// REQUIRES: PTRSIZE=64
1313

1414
// This test expects the stdlib to be in its properly optimized form.
1515
// REQUIRES: swift_stdlib_no_asserts,optimized_stdlib
@@ -30,7 +30,7 @@
3030
// CHECK: [[BRIDGE_STORAGE:%[^,]+]] = struct $_BridgeStorage<__ContiguousArrayStorageBase> ([[BRIDGE_OBJECT]] :
3131
// CHECK: [[ARRAY_BUFFER:%[^,]+]] = struct $_ArrayBuffer<(String, String)> ([[BRIDGE_STORAGE]] :
3232
// CHECK: [[ARRAY:%[^,]+]] = struct $Array<(String, String)> ([[ARRAY_BUFFER]] :
33-
// CHECK: [[DICTIONARY_INIT:%[^,]+]] = function_ref @$sSD17dictionaryLiteralSDyxq_Gx_q_td_tcfCSS_SSTg{{m?}}5
33+
// CHECK: [[DICTIONARY_INIT:%[^,]+]] = function_ref @$sSD17dictionaryLiteralSDyxq_Gx_q_td_tcfCSS_SST{{[t0-9]*}}g5
3434
// CHECK-NEXT: strong_retain [[REF]] : $__EmptyArrayStorage
3535
// CHECK-NEXT: apply [[DICTIONARY_INIT]]([[ARRAY]]
3636
// CHECK-LABEL: } // end sil function '$s4main1CCACycfc'

0 commit comments

Comments
 (0)