Repository navigation
Delete duplicated tests in iree/test/e2e/ - #5446
Conversation
MaheshRavishankar
left a comment
There was a problem hiding this comment.
Lets keep this for now. If you want you can create a new column on Linalg on tensors project, and add this PR to that
The flag is not used. It now looks into the target backend to decide whether dispatch Linalg on tensors. I can make it still usable so you can control the behavior easier. I'd like to delete duplicated and outdated e2e tests at least because it blocks mhlo.fft end-to-end testing. mhlo.fft only works in Linalg on tensors. What do you think? |
I think deleting the tests is fine. We might still need the old flag to run the legacy path for perf comparison for maybe a week or so. |
Okay, I will make the flag work and delete the duplicate tests in this PR instead. |
| #include "mlir/Pass/PassRegistry.h" | ||
| #include "mlir/Transforms/Passes.h" | ||
|
|
||
| static llvm::cl::opt<bool> clEnableLinalgOnTensorsDispatch( |
There was a problem hiding this comment.
This should be default true?
| compiler_flags = [ | ||
| "-iree-flow-dispatch-linalg-on-tensors", | ||
| "-iree-codegen-spirv-experimental-linalg-on-tensors", | ||
| "-iree-spirv-enable-vectorization", |
There was a problem hiding this comment.
This flag probably needs to be kept (I am talking about just iree-spirv-enable-vectorization?
There was a problem hiding this comment.
No, we don't need it today. Vectorization is turned on by default in Linalg on tensors, see #5280
Also delete unnecessary flags in iree/test/e2e and iree/compiler/Dialect/HAL/Target/LLVM/test/smoketest.mlir
Part of #5442