-
Notifications
You must be signed in to change notification settings - Fork 630
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
Configure compiler to generate 'wasm' executables using wasm-llvm-aot. #5079
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LLVMAOT targets both WASM and Dylib now.
ScottTodd
added
infrastructure/cmake
codegen/llvm
LLVM code generation compiler backend
labels
Mar 12, 2021
benvanik
approved these changes
Mar 12, 2021
Merged
copybara-service bot
pushed a commit
that referenced
this pull request
Mar 12, 2021
* 161f932 Enable CUDA tests on Turing platforms (#5091) * e16759c [CodeGen] Avoid eliminating output store unconditionally (#5073) * e2fe13e Add wasm-micro-runtime submodule and get building with CMake. (#5077) * 33c4e39 Bump Tracy submodule to v0.7.6. (#5094) * 3f6335f Use correct tied operand index when creating DispatchWorkgroupsOp (#5090) * e5cfa53 Allow all matmul variants to be a root op (#5065) * a5a0f1d Merge google -> main (#5086) * 1ef76ba Merge pull request #5083 from google/benvanik-flow-passes * 0668b55 Configure compiler to generate 'wasm' executables using wasm-llvm-aot. (#5079) * 6d41b9d Create InitTensorOp based on input operand shapes. (#5070) * bb819df Shuffling the SIP reflection attrs pass around a bit. This is in preparation f.. * 6b63dac Fixing deprecation warning. * 5c5d2aa Removing old identify dispatch regions. Not yet the new old identify dispatch .. * 80cdcce Splitting out input passes from flow passes. Eventually the TOSA/HLO stuff wil.. * a2a464d Add missing CMake dep (#5081) * ca29d25 [CodeGen] NFC: Rename LinalgTileAndFusePass (#5075) * f3d7654 Add MobileNetV2 to benchmarking targets. (#5064) * 8aace66 Rename CMake target DYLIB-LLVM-AOT to just LLVM-AOT. * 98f2135 Add WASM executable format and produce it with LLVMAOTTarget. * 2795092 Add CMake configuration for WAMR's runtime "iwasm VM core". * 2b5c7b9 Add third_party/wasm-micro-runtime submodule. COPYBARA_INTEGRATE_REVIEW=#5097 from ThomasRaoux:main-to-google 161f932 PiperOrigin-RevId: 362617674
iree-github-actions-bot
pushed a commit
that referenced
this pull request
Mar 12, 2021
* 161f932 Enable CUDA tests on Turing platforms (#5091) * e16759c [CodeGen] Avoid eliminating output store unconditionally (#5073) * e2fe13e Add wasm-micro-runtime submodule and get building with CMake. (#5077) * 33c4e39 Bump Tracy submodule to v0.7.6. (#5094) * 3f6335f Use correct tied operand index when creating DispatchWorkgroupsOp (#5090) * e5cfa53 Allow all matmul variants to be a root op (#5065) * a5a0f1d Merge google -> main (#5086) * 1ef76ba Merge pull request #5083 from google/benvanik-flow-passes * 0668b55 Configure compiler to generate 'wasm' executables using wasm-llvm-aot. (#5079) * 6d41b9d Create InitTensorOp based on input operand shapes. (#5070) * bb819df Shuffling the SIP reflection attrs pass around a bit. This is in preparation f.. * 6b63dac Fixing deprecation warning. * 5c5d2aa Removing old identify dispatch regions. Not yet the new old identify dispatch .. * 80cdcce Splitting out input passes from flow passes. Eventually the TOSA/HLO stuff wil.. * a2a464d Add missing CMake dep (#5081) * ca29d25 [CodeGen] NFC: Rename LinalgTileAndFusePass (#5075) * f3d7654 Add MobileNetV2 to benchmarking targets. (#5064) * 8aace66 Rename CMake target DYLIB-LLVM-AOT to just LLVM-AOT. * 98f2135 Add WASM executable format and produce it with LLVMAOTTarget. * 2795092 Add CMake configuration for WAMR's runtime "iwasm VM core". * 2b5c7b9 Add third_party/wasm-micro-runtime submodule. PiperOrigin-RevId: 362617674
ThomasRaoux
added a commit
that referenced
this pull request
Mar 13, 2021
* 161f932 Enable CUDA tests on Turing platforms (#5091) * e16759c [CodeGen] Avoid eliminating output store unconditionally (#5073) * e2fe13e Add wasm-micro-runtime submodule and get building with CMake. (#5077) * 33c4e39 Bump Tracy submodule to v0.7.6. (#5094) * 3f6335f Use correct tied operand index when creating DispatchWorkgroupsOp (#5090) * e5cfa53 Allow all matmul variants to be a root op (#5065) * a5a0f1d Merge google -> main (#5086) * 1ef76ba Merge pull request #5083 from google/benvanik-flow-passes * 0668b55 Configure compiler to generate 'wasm' executables using wasm-llvm-aot. (#5079) * 6d41b9d Create InitTensorOp based on input operand shapes. (#5070) * bb819df Shuffling the SIP reflection attrs pass around a bit. This is in preparation f.. * 6b63dac Fixing deprecation warning. * 5c5d2aa Removing old identify dispatch regions. Not yet the new old identify dispatch .. * 80cdcce Splitting out input passes from flow passes. Eventually the TOSA/HLO stuff wil.. * a2a464d Add missing CMake dep (#5081) * ca29d25 [CodeGen] NFC: Rename LinalgTileAndFusePass (#5075) * f3d7654 Add MobileNetV2 to benchmarking targets. (#5064) * 8aace66 Rename CMake target DYLIB-LLVM-AOT to just LLVM-AOT. * 98f2135 Add WASM executable format and produce it with LLVMAOTTarget. * 2795092 Add CMake configuration for WAMR's runtime "iwasm VM core". * 2b5c7b9 Add third_party/wasm-micro-runtime submodule. PiperOrigin-RevId: 362617674
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
codegen/llvm
LLVM code generation compiler backend
infrastructure
Relating to build systems, CI, or testing
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Progress on #4019
There's still more work to do with build/test configurations and filtering, but this at least gets us to the point where IREE's LLVM AOT compiler path can generate flatbuffers suitable for a
wasm
runtime HAL to handle.I'm using these flags:
-iree-hal-target-backends=wasm-llvm-aot -iree-llvm-target-triple=wasm32-unknown-unknown
--driver=wasm