Commit Graph

12 Commits

Author SHA1 Message Date
Anthony Latsis
55e5618eab [test] Match nocapture to succeed both on main and rebranch
Both the syntax and relative order of the LLVM `nocapture` parameter
attribute changed upstream in 29441e4f5fa5f5c7709f7cf180815ba97f611297.
To reduce conflicts with rebranch, adjust FileCheck patterns to expect
both syntaxes and orders anywhere the presence of the attribute is not
critical to the test. These changes are temporary and will be cleaned
up once rebranch is merged into main.
2025-05-08 23:52:43 +01:00
Allan Shortlidge
cb578172ea Tests: Remove -disable-availability-checking in more tests that use concurrency.
Use the `%target-swift-5.1-abi-triple` substitution to compile the tests for
deployment to the minimum OS versions required for use of _Concurrency APIs,
instead of disabling availability checking.
2024-10-19 12:35:20 -07:00
Yuta Saito
c143d1e54f [wasm][test] Disable a test that depends on swifttailcc 2023-10-23 17:34:20 +00:00
Arnold Schwaighofer
3b5ebaa46c Fix some tests in IRGen folder 2023-06-21 10:10:32 -07:00
Arnold Schwaighofer
c1a93e0bde Move tests over to use the %use_no_opaque_pointers option 2023-06-14 10:49:48 -07:00
Saleem Abdulrasool
4f6a054705 test: adjust tests for mandatory tail calls on Win64
Since we are force enabling the mandatory tail calls on Windows x64,
even at the expense of stack traces and debugging support, adjust the
tests to account for the difference.
2023-03-06 10:39:03 -08:00
Arnold Schwaighofer
f9a8662e9b Try to fix test on linux 2022-01-13 06:44:36 -08:00
Arnold Schwaighofer
3e077e7d67 IRGen: Use the 'right' async context index in the dynamic replacement prolog
The right index is the index derived for calling a function
(Signature::forAsyncEntry) rather then for receiving the results
(Signature::forAsyncAwait(); the resume fn signature).

rdar://86863272
2022-01-12 15:09:21 -08:00
Doug Gregor
1e2012d816 Disable availability checking in tests that use concurrency 2021-07-20 12:46:26 -07:00
Varun Gandhi
f9499095fc Xfail async test on Windows.
The swifttailcc convention is not supported on Windows right now.
2021-05-25 18:04:38 -07:00
Varun Gandhi
a04464445b [IRGen] Fix missing musttail for dynamic replacement calls.
Fixes rdar://78284346.

(Found when trying to land musttail verification. :D)
2021-05-24 13:15:29 -07:00
Varun Gandhi
94593e4487 Add test case for missing musttail in dynamic replacement. 2021-05-21 15:30:37 -07:00