diff --git a/mlir/docs/Canonicalization.md b/mlir/docs/Canonicalization.md index f2f6d7d751f5..1b017ad90511 100644 --- a/mlir/docs/Canonicalization.md +++ b/mlir/docs/Canonicalization.md @@ -161,6 +161,7 @@ Otherwise, the following is generated: /// the operation, partial folding is not supported. The caller will remove /// the operation and use those results instead. /// +/// Note that this mechanism cannot be used to remove 0-result operations. LogicalResult MyOp::fold(ArrayRef operands, SmallVectorImpl &results) { ...