Skip to content

Commit 97c9f9a

Browse files
committed
[mlir][affine] NFC: Improve variable name in TestReifyValueBounds
1 parent 5ae5af1 commit 97c9f9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,11 @@ static LogicalResult testEquality(func::FuncOp funcOp) {
188188
return WalkResult::skip();
189189
}
190190
if (op->hasAttr("compose")) {
191-
FailureOr<int64_t> equal = affine::fullyComposeAndComputeConstantDelta(
191+
FailureOr<int64_t> delta = affine::fullyComposeAndComputeConstantDelta(
192192
op->getOperand(0), op->getOperand(1));
193-
if (failed(equal)) {
193+
if (failed(delta)) {
194194
op->emitError("could not determine equality");
195-
} else if (*equal == 0) {
195+
} else if (*delta == 0) {
196196
op->emitRemark("equal");
197197
} else {
198198
op->emitRemark("different");

0 commit comments

Comments
 (0)