mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 11:59:09 +00:00
Support Swift calling convention for WebAssembly targets
This adds basic support for the Swift calling convention with WebAssembly targets. Reviewed By: dschuff Differential Revision: https://reviews.llvm.org/D71823
This commit is contained in:
parent
06d4a892b3
commit
a53f5e2907
@ -672,7 +672,8 @@ static bool callingConvSupported(CallingConv::ID CallConv) {
|
||||
CallConv == CallingConv::PreserveMost ||
|
||||
CallConv == CallingConv::PreserveAll ||
|
||||
CallConv == CallingConv::CXX_FAST_TLS ||
|
||||
CallConv == CallingConv::WASM_EmscriptenInvoke;
|
||||
CallConv == CallingConv::WASM_EmscriptenInvoke ||
|
||||
CallConv == CallingConv::Swift;
|
||||
}
|
||||
|
||||
SDValue
|
||||
|
Loading…
x
Reference in New Issue
Block a user