Commit Graph

8 Commits

Author SHA1 Message Date
Daniel Rodríguez Troitiño
ba68faaed5 [test] Mark tests that use experimental/upcoming features as such
Find all the usages of `--enable-experimental-feature` or
`--enable-upcoming-feature` in the tests and replace some of the
`REQUIRES: asserts` to use `REQUIRES: swift-feature-Foo` instead, which
should correctly apply to depending on the asserts/noasserts mode of the
toolchain for each feature.

Remove some comments that talked about enabling asserts since they don't
apply anymore (but I might had miss some).

All this was done with an automated script, so some formatting weirdness
might happen, but I hope I fixed most of those.

There might be some tests that were `REQUIRES: asserts` that might run
in `noasserts` toolchains now. This will normally be because their
feature went from experimental to upcoming/base and the tests were not
updated.
2024-11-02 11:46:46 -07:00
Kuba Mracek
fda2a2a65e [embedded] Disallow use of VWTs for take/copy/assign/destroy operations, even under -Osize 2023-09-22 22:54:25 -07:00
Kuba Mracek
3e1fac07ed [embedded] Pass -wmo in test/embedded/array-builtins-no-stdlib.swift 2023-09-15 18:03:03 -07:00
Kuba Mracek
badd33cc48 [embedded] Add thick->thin conversion SIL tests in simplify_buildin.sil 2023-09-15 11:07:15 -07:00
Kuba Mracek
d061b93a60 [embedded] Mark array-builtins-no-stdlib.swift as REQUIRES: swift_in_compiler 2023-09-15 10:38:15 -07:00
Kuba Mracek
20604d4db8 [embedded] Merge two related tests, add a TODO about adding executable tests 2023-09-15 10:36:45 -07:00
Kuba Mracek
350107e153 [embedded] Also cover DestroyArray builtin in embedded Swift mode 2023-09-15 06:56:11 -07:00
Kuba Mracek
78a5b68343 [embedded] Emit array builtins (copy, take, assign) as loops to avoid runtime calls 2023-09-14 17:11:35 -07:00