[Mlir-commits] [mlir] [mlir][vector] Fix FlattenGather for scalable vectors (PR #96074)

Cullen Rhodes llvmlistbot at llvm.org
Wed Jun 19 07:46:55 PDT 2024


================
@@ -211,6 +211,11 @@ Value createReadOrMaskedRead(OpBuilder &builder, Location loc, Value source,
 ///      static sizes in `shape`.
 LogicalResult isValidMaskedInputVector(ArrayRef<int64_t> shape,
                                        ArrayRef<int64_t> inputVectorSizes);
+
+/// Returns true if the leading dim(s) of `type` are fixed and the trailing dim
+/// is scalable.
+bool isTrailingDimScalable(VectorType type);
----------------
c-rhodes wrote:

Removed this now that it's no longer necessary given your other suggestion :)

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


More information about the Mlir-commits mailing list