Commit Graph

7 Commits

Author SHA1 Message Date
Michael Gottesman
3ebd8df493 [gardening] Remove unnecessary -enable-sil-ownership from tests that now just get it from their pattern.
This just eliminates -enable-sil-ownership from all target-swift-frontend and
target-swift-emit-silgen RUN lines. Both of those now include
enable-sil-ownership in their expansion.
2019-03-12 20:39:18 -07:00
Greg Parker
e8475cc130 Revert "Use conditional conformances to implement Equatable for Optional, Array and Dictionary" 2017-11-15 14:17:22 -08:00
Doug Gregor
80275b91e3 Update SIL optimizer tests for Optional: Equatable conformance. 2017-11-14 17:02:53 -08:00
Michael Gottesman
b5f3a8a51a [mandatory-inlining] Turn on ownership verification on all swift tests for mandatory inlining.
The sil files have been left alone and mandatory inlining is still only being
applied to SIL without ownership. That is coming in a forthcoming commit.

rdar://31521023
2017-09-08 23:21:27 -07:00
Erik Eckstein
1d3724666f tests: convert about 400 tests to the new mangling by using the -new-mangling-for-tests option
When the new mangling is enabled permanently, the option can be removed from the RUN command lines again.
2017-01-24 15:27:45 -08:00
Dmitri Gribenko
d175b3b66d Migrate FileCheck to %FileCheck in tests 2016-08-10 23:52:02 -07:00
Erik Eckstein
075dbe2242 stdlib: Make comparison functions for optional nil transparent
This will generate significantly better code if a generic optional is compared against nil.
In a generic function this ended up with a call to the == function. Now, due to mandatory inlining, it boils down to a switch_enum.
2016-06-06 10:37:35 -07:00