Michael Gottesman
fd4828e40a
Eliminate -assume-parsing-unqualified-ownership-sil from tests.
...
I am doing this separately from the actual change to eliminate the option to
make it easier to review.
2018-12-19 12:54:13 -08: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
Michael Gottesman
20dd563efb
[semantic-arc] Update tests for qualified/unqualified ownership and SILGen emission of copy_value, destroy_value.
2016-10-29 20:11:09 -07:00
Joe Groff
74fd15f7af
IRGen: Don't represent enums with weird-sized LLVM integer types.
...
In practice, this interferes with FastISel and has exposed lots of latent LLVM backend bugs. Using "normal" power-of-two-bytes sized integers is easier to work with and improves code gen performance for nonoptimizing clients like Swift Playgrounds.
2016-09-28 09:18:14 -07:00
Dmitri Gribenko
d175b3b66d
Migrate FileCheck to %FileCheck in tests
2016-08-10 23:52:02 -07:00
Dmitri Hrybenko
3b04d1b013
tests: reorganize tests so that they actually use the target platform
...
Most tests were using %swift or similar substitutions, which did not
include the target triple and SDK. The driver was defaulting to the
host OS. Thus, we could not run the tests when the standard library was
not built for OS X.
Swift SVN r24504
2015-01-19 06:52:49 +00:00
Graham Batty
83f27a8af7
Revert "Mark tests that don't pass on linux as XFAIL."
...
This reverts commit 2711ca86de7bf6a7885ccea24219a48a590b1e95.
Swift SVN r23577
2014-11-24 17:42:13 +00:00
Graham Batty
198402dcfe
Mark tests that don't pass on linux as XFAIL.
...
Swift SVN r23573
2014-11-24 17:40:37 +00:00
Erik Eckstein
ec4accfda8
Optimize IRGen of select_num which maps the enum tag trivially to an int value.
...
This generates a simple int-cast instead of a switch.
Swift SVN r23117
2014-11-05 15:43:10 +00:00