Commit Graph

4 Commits

Author SHA1 Message Date
Yuta Saito
edaf81a025 [test][IRGen] Repair async/non_musttail_target.sil
`-disable-llvm-optzns -disable-swift-specific-llvm-optzns
-disable-objc-interop` was wrong way to avoid llvm coroutine lowering.
2023-10-08 06:59:11 +00: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
Saleem Abdulrasool
3df2531cd5 test: repair the IRGen tests after #39680
The change in 39680 impacts more than WebAssembly, but it did not update
the tests for impacted targets.
2021-12-06 22:24:42 -08:00
Yuta Saito
671ce74e97 [IRGen] Put 'ret void' instead of unreachable for non swiftasync cc
If target doesn't support musttail (e.g. WebAssembly), the function
passed to coro.end.async can return control back to the caller.
So the frontend should emit 'ret void' instead of unreachable after the
coro.end.async intrinsic call to allow such situation.
2021-10-11 09:09:41 -07:00