Skip to content

Commit 3aa2215

Browse files
committed
tests: disable SILOptimizer/unsafebufferpointer.swift for 32-bit platforms
for some reason code generation for armv7 is not optimal in some cases rdar://156449589
1 parent d6ebdc3 commit 3aa2215

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/SILOptimizer/unsafebufferpointer.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// This is an end-to-end test to ensure that the optimizer generates
66
// optimal code for UnsafeBufferPointer.
77

8+
// TODO: for some reason code generation for armv7 is not optimal in some cases
9+
// REQUIRES: PTRSIZE=64
10+
811
// CHECK-LABEL: define {{.*}}testIteration
912

1013
// Check if the code contains no traps at all.

0 commit comments

Comments
 (0)