Skip to content

Cleaning up the flow transformation passes by splitting out input transformation. - #5083

Closed
benvanik wants to merge 4 commits into
mainfrom
benvanik-flow-passes
Closed

benvanik wants to merge 4 commits into
mainfrom
benvanik-flow-passes

Conversation

@benvanik

@benvanik benvanik commented Mar 12, 2021 •

Copy link
Copy Markdown
Collaborator

This will make it easier to eject the input transformation in the future (particularly HLO, TOSA is probably fine to keep as it's upstream). This also starts the work to fix up SIP to remove our compiler dep on runtime code, remove our runtime dep on abseil, and prevent SIP from always running unconditionally even if not desired (such as when producing tflite bindings).

@benvanik benvanik added compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) quality of life 😊 Nice things are nice; let's have some labels Mar 12, 2021
@google-cla google-cla Bot added the cla: yes label Mar 12, 2021
@benvanik
benvanik force-pushed the benvanik-flow-passes branch from 177fca0 to beb1b38 Compare March 12, 2021 17:17
Eventually the TOSA/HLO stuff will move out, and this makes it clearer
that they are not part of the flow transformation.
Not yet the new old identify dispatch regions, which will be removed soon.
This is in preparation for moving it out to compiler/Bindings/SIP/ where
it won't be running interleaved with the rest of the flow transformations.
@benvanik
benvanik force-pushed the benvanik-flow-passes branch from beb1b38 to bb819df Compare March 12, 2021 17:30
@benvanik
benvanik marked this pull request as ready for review March 12, 2021 18:11

@ScottTodd ScottTodd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not familiar enough with the SIP stuff to have many opinions on it, but the structural changes there LGTM

@benvanik

Copy link
Copy Markdown
Collaborator Author

Github brainfart? This merged, but is not showing as merged:
1ef76ba

2 similar comments
@benvanik

Copy link
Copy Markdown
Collaborator Author

Github brainfart? This merged, but is not showing as merged:
1ef76ba

@benvanik

Copy link
Copy Markdown
Collaborator Author

Github brainfart? This merged, but is not showing as merged:
1ef76ba

@benvanik benvanik closed this Mar 12, 2021
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

compiler/dialects Relating to the IREE compiler dialects (flow, hal, vm) quality of life 😊 Nice things are nice; let's have some

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants