Skip to content

[pull] swiftwasm from master #1400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jul 7, 2020
Merged

[pull] swiftwasm from master #1400

merged 17 commits into from
Jul 7, 2020

Conversation

pull[bot]
Copy link

@pull pull bot commented Jul 7, 2020

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

HassanElDesouky and others added 13 commits July 3, 2020 15:56
…dCore`

The difference with `ModuleFile` is that `ModuleFileSharedCore` provides immutable data and is independent of a particular ASTContext.
It is designed to be able to be shared across multiple `ModuleFile`s of different `ASTContext`s in a thread-safe manner.
…cript

The added lines by Apple Silicon patch really depend on the build
machine platform and it forces that we can build stdlib only for
darwin targets. So I changed to allow non-darwin targets and filter only
unsupported darwin targets. This patch shuold be sent to upstream.
[Serialization] Refactor subset of `ModuleFile` into `ModuleFileCore`
)

GlobalOpt works mostly on trivial values (there are special cases for ObjectInst and ValueToBridgeObjectInst).
optimizeGlobalAccess is explicitly turned off for non-trivial values. optimizeInitializer calls SILGlobalVariable::isValidStaticInitializerInst which limits it to mostly trivial values except for special cases for ObjectInst and ValueToBridgeObjectInst.

This changes adds GlobalOpt tests for ossa and enables GlobalOpt on ossa
[Diag] NFC: Port diagnostic messages from `.def` files to `en.yaml`
…ilation

build: fix cross-compilation on Darwin platforms
…aming scheme

Find the right benchmark executable with a glob pattern.
Also, add an option "-arch" to select between executables for different architectures.
benchmarks: fix run_smoke_bench to support new benchmark executable naming scheme
@pull pull bot merged commit dbd1ec6 into swiftwasm Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.