[Mlir-commits] [mlir] Add Vector bitwidth target to Linearize Vectorizable and Constant Ops (PR #83314)

Han-Chung Wang llvmlistbot at llvm.org
Fri Mar 1 10:28:44 PST 2024


hanhanW wrote:

> `tensor.collapse_shape` is only for memrefs (transfer ops). This is "collapsing" vectors. If we only flatten transfer ops but not their producers/consumers, we would end up with `vector.shape_cast` ops that won't be optimized away. The `vector.shape_cast` ops introduced by this pass should cancel out with the ones introduced by the transfer read/write flattening pass.

Oh I see the point, very good point!

https://github.com/llvm/llvm-project/pull/83314


More information about the Mlir-commits mailing list