diff --git a/mlir/docs/Canonicalization.md b/mlir/docs/Canonicalization.md --- a/mlir/docs/Canonicalization.md +++ b/mlir/docs/Canonicalization.md @@ -161,6 +161,7 @@ /// 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) { ...