Repository navigation
[Cleanup] Delete Linalg on buffers pipeline - #5584
Conversation
|
I'd suggest to review through three commits individually. |
The PR fixes smoektest.mlir for MetalSPIRV and removes the flag for VulkanSPIRV.
antiagainst
left a comment
There was a problem hiding this comment.
Hooray! LGTM. But please wait for @MaheshRavishankar's approval.
MaheshRavishankar
left a comment
There was a problem hiding this comment.
Great! That cleans up a lot of stuff. SOme of the individual passes can be removed as well. Will do so.
| srcs = [ | ||
| "HLOToLinalgOnBuffers.cpp", | ||
| "Passes.cpp", | ||
| "ResolveShapeOps.cpp", |
There was a problem hiding this comment.
Interesting! I think ResolveShapeOps.cpp can go too, but it is used for now, but probably not needed. Not needed to be resolved here, just a note for (my) future reference.
There was a problem hiding this comment.
I tried to remove it, but it's used for old lit tests. I plan to delete it later.
And it also broke regressiondynamic_add.mlir, but I did not dig into it.
| // which will break VMLA backend. | ||
| passManager.addNestedPass<FuncOp>(createDecomposeHLOClampPass()); | ||
| } | ||
| // TODO(ataei): This should run as part of createHLOToHLOPreprocessingPass |
There was a problem hiding this comment.
Does this not break VMLA backend?
There was a problem hiding this comment.
It use to, not all HLO ops here has VMLA equivalent
There are four commits in the PR:
The option for Linalg on tensors/buffers for SPIR-V path is not deleted because some lit tests relied on it.
note: this also cleans up some deps.