From 3fcdd182e9784cb9c2d7ff54b44ec00bd6c91a87 Mon Sep 17 00:00:00 2001 From: Stella Laurenzo Date: Fri, 19 Nov 2021 20:32:21 +0000 Subject: [PATCH] NFC: Callout restriction on folding 0-result ops in documentation. Differential Revision: https://reviews.llvm.org/D114271 --- mlir/docs/Canonicalization.md | 1 + 1 file changed, 1 insertion(+) 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) { ...