NFC: Callout restriction on folding 0-result ops in documentation.

Differential Revision: https://reviews.llvm.org/D114271
This commit is contained in:
Stella Laurenzo 2021-11-19 20:32:21 +00:00
parent 3f3680dff3
commit 3fcdd182e9

View File

@ -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<Attribute> operands,
SmallVectorImpl<OpFoldResult> &results) {
...