Open benvanik opened 1 year ago
Maybe a dup of https://github.com/openxla/iree/issues/10906 (detensoring could be removing the problematic ops)
Seems likely!
We can update Tint to see if that fixes any of the older issues 🤞
We now have someone actively working on making the SPIR-V reader path in Tint production ready. Please file bugs to crbug.com/tint and add SpirvReader label
While testing #12503 I had to disable the linalg detensorize pass. When I did I noticed some unique compilation failures in tint that were exposed. We're not going to disable the pass for real but this indicates that something deep in SPIR-V/tint land is relying on detensorizing and it's something that may come up in other contexts with a more difficult repro.
Here's the command/before/after by commenting out
.addPass(mlir::createLinalgDetensorizePass)
incompiler/src/iree/compiler/Dialect/Flow/Transforms/Passes.cpp
. https://gist.github.com/benvanik/5ba24a269e6ac60cf4483bf94a1679b6