[Mlir-commits] [mlir] [mlir][vector] Add pattern to drop unit dims from vector.transpose (PR #102017)

Benjamin Maxwell llvmlistbot at llvm.org
Wed Aug 7 02:48:11 PDT 2024


================
@@ -120,6 +120,11 @@ inline auto makeVscaleConstantBuilder(PatternRewriter &rewriter, Location loc) {
   };
 }
 
+/// Returns an iterator over the dims (inc scalability) of a VectorType.
----------------
MacDue wrote:

It's a single iterator (a zip_iterator) that will yield pairs (actually tuples of size & scalable flag). 

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


More information about the Mlir-commits mailing list