Skip to content

Commit 6d04632

Browse files
committed
tests: disable the static_arrays.swift test for 32 bit architectures
Static string outlining does not work on 32 bit. rdar://problem/50171054
1 parent 63d64fb commit 6d04632

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/SILOptimizer/static_arrays.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// RUN: %target-build-swift -O -Xllvm -sil-disable-pass=FunctionSignatureOpts -module-name=test %s -o %t/a.out
66
// RUN: %target-run %t/a.out | %FileCheck %s -check-prefix=CHECK-OUTPUT
77
// REQUIRES: executable_test,swift_stdlib_no_asserts,optimized_stdlib
8+
// REQUIRES: CPU=arm64 || CPU=x86_64
89

910
// Check if the optimizer is able to convert array literals to statically initialized arrays.
1011

0 commit comments

Comments
 (0)