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

Jianhui Li llvmlistbot at llvm.org
Mon Nov 17 16:10:45 PST 2025


================
@@ -1003,6 +1003,195 @@ struct UnrollFromElements : OpRewritePattern<vector::FromElementsOp> {
   vector::UnrollVectorOptions options;
 };
 
+static bool isContiguousExtract(ArrayRef<int64_t> targetShape,
+                                ArrayRef<int64_t> resultShape) {
----------------
Jianhui-Li wrote:

+1

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


More information about the Mlir-commits mailing list