[Mlir-commits] [mlir] [MLIR][Vector] Add unroll pattern for vector.shape_cast (PR #167738)

Andrzej WarzyƄski llvmlistbot at llvm.org
Wed Nov 19 02:06:38 PST 2025


================
@@ -1003,6 +1003,194 @@ struct UnrollFromElements : OpRewritePattern<vector::FromElementsOp> {
   vector::UnrollVectorOptions options;
 };
 
+/// Checks whether extractShape is contiguous in shape.
----------------
banach-space wrote:

Wouldn't this be a bit more accurate?
```suggestion
/// Checks whether extractShape is a contiguous slice of shape.
```

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


More information about the Mlir-commits mailing list