[Mlir-commits] [mlir] [mlir][linalg] Add mixed precision folding pattern in vectorize_children_and_apply_patterns TD Op (PR #148684)

Adam Siemieniuk llvmlistbot at llvm.org
Tue Jul 15 09:50:41 PDT 2025


================
@@ -3876,6 +3883,10 @@ transform::VectorizeChildrenAndApplyPatternsOp::applyToOne(
 
   patterns.add<CopyVectorizationPattern>(ctx);
 
+  if (getVectorizeMixedPrecision()) {
+    vector::populateFoldArithExtensionPatterns(patterns);
+  }
----------------
adam-smnk wrote:

nit: doesn't need braces

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


More information about the Mlir-commits mailing list