Add NoSideEffect to Affine min and max operations.
Differential Revision: https://reviews.llvm.org/D74203
let hasFolder = 1;
}
-def AffineMinOp : AffineMinMaxOpBase<"min"> {
+def AffineMinOp : AffineMinMaxOpBase<"min", [NoSideEffect]> {
let summary = "min operation";
let description = [{
The "min" operation computes the minimum value result from a multi-result
}];
}
-def AffineMaxOp : AffineMinMaxOpBase<"max"> {
+def AffineMaxOp : AffineMinMaxOpBase<"max", [NoSideEffect]> {
let summary = "max operation";
let description = [{
The "max" operation computes the maximum value result from a multi-result