[Mlir-commits] [mlir] [mlir][vector] Adds ToElementsToTargetShape pattern. (PR #166476)

Jakub Kuderski llvmlistbot at llvm.org
Fri Nov 7 09:51:30 PST 2025


================
@@ -1013,14 +1113,15 @@ void mlir::vector::populateVectorUnrollPatterns(
                UnrollReductionPattern, UnrollMultiReductionPattern,
                UnrollTransposePattern, UnrollGatherPattern, UnrollLoadPattern,
                UnrollStorePattern, UnrollBroadcastPattern, UnrollFromElements,
-               UnrollToElements, UnrollStepPattern>(patterns.getContext(),
-                                                    options, benefit);
+               UnrollToElements, UnrollStepPattern, ToElementsToTargetShape>(
----------------
kuhar wrote:

Why did you chose a different name from all the other patterns? (I'm not saying this is a bad name, just that it creates some asymmetry)

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


More information about the Mlir-commits mailing list