[Mlir-commits] [mlir] [mlir] transform dialect; add pre/post-condition type (PR #191813)
Renato Golin
llvmlistbot at llvm.org
Thu Apr 16 06:58:39 PDT 2026
================
@@ -104,6 +104,46 @@ transform::AnyParamType::checkPayload(Location loc,
return DiagnosedSilenceableFailure::success();
}
+//===----------------------------------------------------------------------===//
+// transform::NormalizedOpType
+//===----------------------------------------------------------------------===//
+
+DiagnosedSilenceableFailure
+transform::NormalizedOpType::checkPayload(Location loc,
+ ArrayRef<Operation *> payload) const {
+ // Return any definite failure or the first silenceable failure.
+ DiagnosedSilenceableFailure overallResult =
----------------
rengolin wrote:
nit: auto?
many other places, too.
https://github.com/llvm/llvm-project/pull/191813
More information about the Mlir-commits
mailing list