[Mlir-commits] [mlir] [mlir][vector] Canonicalize gathers/scatters with trivial offsets (PR #117939)
Ivan Butygin
llvmlistbot at llvm.org
Fri Dec 27 14:38:41 PST 2024
Hardcode84 wrote:
Actually, I think, better approach may be to have a special `StepElementsAttr` in the same way we already have `SplatElementsAttr`, which is "canonicalized" on `DenseElementsAttr` construction like `SplatElementsAttr`. This way we don't need any special ops and users which doesn't know or doesn't care about `StepElementsAttr` can still work with it as normal dense constant.
https://github.com/llvm/llvm-project/pull/117939
More information about the Mlir-commits
mailing list