Skip to content

Commit 9a703f5

Browse files
committed
Update a few more tests to enable -solver-enable-operator-designated-types when possible.
Add the following to all the expression type checker performance tests that do not regress as a result: - `-swift-version 5` - `-solver-disable-shrink` - `-disable-constraint-solver-performance-hacks` - `-solver-enable-operator-designated-types` This is a follow-up to 6de03f7, where these should have been included.
1 parent 6de03f7 commit 9a703f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

validation-test/Sema/type_checker_perf/fast/rdar19738292.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %scale-test --begin 7 --end 12 --step 1 --select NumLeafScopes %s
1+
// RUN: %scale-test --begin 7 --end 12 --step 1 --select NumLeafScopes %s -Xfrontend=-swift-version -Xfrontend=5 -Xfrontend=-solver-disable-shrink -Xfrontend=-disable-constraint-solver-performance-hacks -Xfrontend=-solver-enable-operator-designated-types
22
// REQUIRES: OS=macosx
33
// REQUIRES: asserts
44
// REQUIRES: rdar42650365

validation-test/Sema/type_checker_perf/fast/rdar23620262.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1
1+
// RUN: %target-typecheck-verify-swift -solver-expression-time-threshold=1 -swift-version 5 -solver-disable-shrink -disable-constraint-solver-performance-hacks -solver-enable-operator-designated-types
22
// REQUIRES: tools-release,no_asserts
33
// REQUIRES: rdar38378503
44

validation-test/Sema/type_checker_perf/fast/rdar32999041.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %scale-test --begin 3 --end 8 --step 1 --select NumLeafScopes %s
1+
// RUN: %scale-test --begin 3 --end 8 --step 1 --select NumLeafScopes %s -Xfrontend=-swift-version -Xfrontend=5 -Xfrontend=-solver-disable-shrink -Xfrontend=-disable-constraint-solver-performance-hacks -Xfrontend=-solver-enable-operator-designated-types
22
// REQUIRES: OS=macosx
33
// REQUIRES: asserts
44
// FIXME: https://bugs.swift.org/browse/SR-6997

0 commit comments

Comments
 (0)