We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ae5af1 commit 97c9f9aCopy full SHA for 97c9f9a
mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp
@@ -188,11 +188,11 @@ static LogicalResult testEquality(func::FuncOp funcOp) {
188
return WalkResult::skip();
189
}
190
if (op->hasAttr("compose")) {
191
- FailureOr<int64_t> equal = affine::fullyComposeAndComputeConstantDelta(
+ FailureOr<int64_t> delta = affine::fullyComposeAndComputeConstantDelta(
192
op->getOperand(0), op->getOperand(1));
193
- if (failed(equal)) {
+ if (failed(delta)) {
194
op->emitError("could not determine equality");
195
- } else if (*equal == 0) {
+ } else if (*delta == 0) {
196
op->emitRemark("equal");
197
} else {
198
op->emitRemark("different");
0 commit comments