Skip to content

Commit 4f64770

Browse files
committed
tests: re-enable performance-annotations.swift test
Just comment out the failing test (which needs rdar://90495704)
1 parent cff02f8 commit 4f64770

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/SILOptimizer/performance-annotations.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// RUN: %target-swift-frontend -experimental-performance-annotations -emit-sil %s -o /dev/null -verify
22
// REQUIRES: swift_stdlib_no_asserts,optimized_stdlib
3-
// REQUIRES: rdar90495704
43

54
protocol P {
65
func protoMethod(_ a: Int) -> Int
@@ -32,6 +31,8 @@ struct AllocatingStr : P {
3231
}
3332
}
3433

34+
/* Currently disabled: rdar://90495704
35+
3536
func noRTCallsForArrayGet(_ a: [Str], _ i: Int) -> Int {
3637
return a[i].x
3738
}
@@ -40,6 +41,7 @@ func noRTCallsForArrayGet(_ a: [Str], _ i: Int) -> Int {
4041
func callArrayGet(_ a: [Str]) -> Int {
4142
return noRTCallsForArrayGet(a, 0)
4243
}
44+
*/
4345

4446
@_noLocks
4547
func arcOperations(_ x: Cl) -> Cl {

0 commit comments

Comments
 (0)