[Mlir-commits] [mlir] [mlir][Affine] affine-super-vectorize transform op (PR #177755)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Sat Jan 24 11:28:56 PST 2026
================
@@ -149,6 +152,33 @@ void SimplifyBoundedAffineOpsOp::getEffects(
modifiesPayload(effects);
}
+DiagnosedSilenceableFailure
+SuperVectorizeOp::apply(transform::TransformRewriter &rewriter,
+ TransformResults &results, TransformState &state) {
+ ArrayRef<int64_t> fastestVaryingPattern;
+ if (getFastestVaryingPattern().has_value()) {
+ if (getFastestVaryingPattern()->size() != getVectorSizes().size())
+ return emitSilenceableFailure(
+ getLoc(),
+ "Fastest varying pattern specified with different size than "
----------------
ftynse wrote:
Nit: don't capitalize error messages and don't end them with a full stop.
https://github.com/llvm/llvm-project/pull/177755
More information about the Mlir-commits
mailing list