Skip to content

[spirv] Remove code for deprecated Linalg on buffers path - #5626

Merged
antiagainst merged 7 commits into
iree-org:mainfrom
antiagainst:boom-dce
Apr 28, 2021
Merged

antiagainst merged 7 commits into
iree-org:mainfrom
antiagainst:boom-dce

Conversation

@antiagainst

Copy link
Copy Markdown
Member

Here we go! :) This commit removes code for deprecated Linalg
on buffers path and command-line options that are default now.

Here we go! :) This commit removes code for deprecated Linalg
on buffers path and command-line options that are default now.
@antiagainst

Copy link
Copy Markdown
Member Author

Sending out PR for now. Need to do more testing internally to make sure everything is fine.

@benvanik benvanik added cleanup 🧹 codegen/spirv SPIR-V code generation compiler backend labels Apr 26, 2021
@benvanik

Copy link
Copy Markdown
Collaborator

Nice! Thanks for doing this Lei!
Once this lands I'll go clean up some of the HAL stuff related to the split dispatch regions that were hanging around for this code path.

@MaheshRavishankar MaheshRavishankar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Awesome! I think removing SplitDispatchFunctionPass was the reason for Linalg on tensors work to begin with! (I am a bit jealous that you got to delete it before I could get to it :P ).

Just a minor comment (and making this request changes for that to be addressed)

@hanhanW hanhanW left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice!

@antiagainst

Copy link
Copy Markdown
Member Author

Awesome! I think removing SplitDispatchFunctionPass was the reason for Linalg on tensors work to begin with! (I am a bit jealous that you got to delete it before I could get to it :P ).

Haha. I introduced those passes to begin with so I sort of feel responsible to retire them. ;) Don't worry you'll have the fun to find and remove code; pretty sure there are more to kill!

@antiagainst
antiagainst merged commit 8b3790d into iree-org:main Apr 28, 2021
@antiagainst
antiagainst deleted the boom-dce branch April 28, 2021 12:03
copybara-service Bot pushed a commit that referenced this pull request Apr 28, 2021
* 8b3790d [spirv] Remove code for deprecated Linalg on buffers path (#5626)
* 5e66689 Guessing at making MacOS happy. (#5654)
* 9475b3a Merge google -> main (#5646)
* e221e5e [Talks] 2020-08-20: IREE CodeGen; MLIR ODM (#5585)
* 1696d8c Only add operand-fusion to MobileNetV2. (#5639)
* 9eaa01b Integrate MLIR-EmitC at iml130/mlir-emitc@679d7183 (#5633)
* 7d0ab9a [spirv] Delete experimental matmul vectorization code (#5638)

COPYBARA_INTEGRATE_REVIEW=#5659 from ThomasRaoux:main-to-google b8c4575
PiperOrigin-RevId: 370960412
iree-github-actions-bot pushed a commit that referenced this pull request Apr 28, 2021
* 8b3790d [spirv] Remove code for deprecated Linalg on buffers path (#5626)
* 5e66689 Guessing at making MacOS happy. (#5654)
* 9475b3a Merge google -> main (#5646)
* e221e5e [Talks] 2020-08-20: IREE CodeGen; MLIR ODM (#5585)
* 1696d8c Only add operand-fusion to MobileNetV2. (#5639)
* 9eaa01b Integrate MLIR-EmitC at iml130/mlir-emitc@679d7183 (#5633)
* 7d0ab9a [spirv] Delete experimental matmul vectorization code (#5638)

PiperOrigin-RevId: 370960412
simon-camp pushed a commit to simon-camp/iree that referenced this pull request Apr 29, 2021
)

Here we go! :) This commit removes code for deprecated Linalg
on buffers path:

* Removed command-line options that are default now.
* Deleted unused passes.
* Removed SPIRVTarget logic for multiple entry points.
* Deleted unused attribute setting code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup 🧹 codegen/spirv SPIR-V code generation compiler backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants