Skip to content

Conversation

@kateinoigakukun
Copy link
Member

clang::CodeGen::swiftcall::shouldPassIndirectly now returns true for multiple scalar values on wasm targets because the Wasm MVP does not support multiple return values. For such targets where we can't directly return two pointers, we should not attempt to indirect at this stage because the later MC lowering will also indirect the return.

@kateinoigakukun
Copy link
Member Author

swiftlang/llvm-project#11765
@swift-ci Please build toolchain

`clang::CodeGen::swiftcall::shouldPassIndirectly` now returns true for
multiple scalar values on wasm targets because the Wasm MVP does not
support multiple return values. For such targets where we can't
directly return two pointers, we should not attempt to indirect at this
stage because the later MC lowering will also indirect the return.
@kateinoigakukun
Copy link
Member Author

swiftlang/llvm-project#11765
@swift-ci Please build toolchain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant