Skip to content

Commit d155b5c

Browse files
committed
[TypeChecker] NFC: Extend scale and move test-case for rdar://30606089 to "fast"
Resolves: SR-6520
1 parent ee81665 commit d155b5c

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// RUN: %scale-test --begin 1 --end 20 --step 1 --select NumLeafScopes %s --polynomial-threshold 1.7
2+
// REQUIRES: asserts,no_asan
3+
4+
let derivative = { (t: Double) -> (Double) in
5+
return -2.0 / (
6+
(1.0 + t)
7+
%for i in range(1, N):
8+
* (1.0 + t)
9+
%end
10+
)
11+
}

validation-test/Sema/type_checker_perf/slow/rdar30606089.swift.gyb

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)