[Mlir-commits] [mlir] [mlir][Vector] add vector.insert canonicalization pattern for vectors created from ub.poison (PR #142944)
Kunwar Grover
llvmlistbot at llvm.org
Wed Jun 25 02:27:34 PDT 2025
================
@@ -3149,6 +3149,42 @@ LogicalResult InsertOp::verify() {
return success();
}
+// Calculate the linearized position for inserting elements and extract values
+// from the source attribute. Returns the starting position in the destination
+// vector where elements should be inserted.
----------------
Groverkss wrote:
Calculat the linearized position based on what? I cannot understand what this is trying to say.
https://github.com/llvm/llvm-project/pull/142944
More information about the Mlir-commits
mailing list