Skip to content

Commit 172376c

Browse files
committed
tests: disable dead_alloc.swift for pointersize=32
rdar://111548578
1 parent 1bcd73c commit 172376c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/SILOptimizer/dead_alloc.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
// REQUIRES: swift_stdlib_no_asserts,optimized_stdlib
44
// REQUIRES: swift_in_compiler
55

6+
// String literals are not completely constant folded in SIL for ptrsize=32 which fails `deadClassInstance()`.
7+
// This is no problem as LLVM can complete the constant folding.
8+
// UNSUPPORTED: PTRSIZE=32
9+
610
protocol E {
711
func f() -> Bool
812
}

0 commit comments

Comments
 (0)