[Mlir-commits] [mlir] [mlir][vector] Canonicalize gathers/scatters with trivial offsets (PR #117939)
Diego Caballero
llvmlistbot at llvm.org
Thu Nov 28 10:31:08 PST 2024
================
@@ -5181,6 +5181,19 @@ std::optional<SmallVector<int64_t, 4>> GatherOp::getShapeForUnroll() {
return llvm::to_vector<4>(getVectorType().getShape());
}
+static LogicalResult isContiguousIndices(Value val) {
----------------
dcaballe wrote:
Could you add doc about the current supported cases and limitations.
nit: `val` -> `indices`, `indexVec` ... ?
https://github.com/llvm/llvm-project/pull/117939
More information about the Mlir-commits
mailing list