[Mlir-commits] [mlir] 0946e10 - [mlir][doc] clarify (ir)recoverable failures in transform dialect
Alex Zinenko
llvmlistbot at llvm.org
Fri Oct 7 07:40:46 PDT 2022
Author: Alex Zinenko
Date: 2022-10-07T14:40:24Z
New Revision: 0946e107da978835882c22746dcd680bde7c4e23
URL: https://github.com/llvm/llvm-project/commit/0946e107da978835882c22746dcd680bde7c4e23
DIFF: https://github.com/llvm/llvm-project/commit/0946e107da978835882c22746dcd680bde7c4e23.diff
LOG: [mlir][doc] clarify (ir)recoverable failures in transform dialect
Added:
Modified:
mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td b/mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td
index fbceffbef7538..a4f727671efb4 100644
--- a/mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td
+++ b/mlir/include/mlir/Dialect/Transform/IR/TransformDialect.td
@@ -192,6 +192,17 @@ def Transform_Dialect : Dialect {
effect. The transformation is skipped if the register already contains an
error description, and the control flow proceeds to the following operation.
+ Note that a silenceable failure, if emitted, is a compiler _error_ rather
+ than a warning. Transformations are expected to produce silenceable failures
+ if they haven't yet modified the payload IR, i.e. when reporting a
+ precondition failure, and an irrecoverable failure when they modified the IR
+ in a way that is contrary to the semantics of the transform operation or
+ would fail a postcondition. Some "navigation" operations that identify
+ payload IR targets for the following transformation may have a conceptual
+ "failure to match" that is considered a successful execution in the
+ execution model but results in handles associated with empty payload IR
+ operation lists.
+
## Handle Invalidation
The execution model of the transform dialect allows a payload IR operation
More information about the Mlir-commits
mailing list