[llvm-branch-commits] [mlir] [mlir][Interfaces] `ValueBoundsOpInterface`: Fix typo (PR #87976)
Matthias Springer via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Apr 8 02:46:05 PDT 2024
https://github.com/matthias-springer created https://github.com/llvm/llvm-project/pull/87976
This was likely a copy-and-paste typo.
>From a09cbb284df8419e6ce819e289aa88bf86b66842 Mon Sep 17 00:00:00 2001
From: Matthias Springer <springerm at google.com>
Date: Mon, 8 Apr 2024 09:44:02 +0000
Subject: [PATCH] [mlir][Interfaces] `ValueBoundsOpInterface`: Fix typo
This was likely a copy-and-paste typo.
---
mlir/lib/Interfaces/ValueBoundsOpInterface.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/lib/Interfaces/ValueBoundsOpInterface.cpp b/mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
index 1f3f1bb863c554..05b65f7460edcc 100644
--- a/mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
+++ b/mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
@@ -205,7 +205,7 @@ int64_t ValueBoundsConstraintSet::insert(bool isSymbol) {
int64_t ValueBoundsConstraintSet::insert(AffineMap map, ValueDimList operands,
bool isSymbol) {
assert(map.getNumResults() == 1 && "expected affine map with one result");
- int64_t pos = insert(/*isSymbol=*/false);
+ int64_t pos = insert(isSymbol);
// Add map and operands to the constraint set. Dimensions are converted to
// symbols. All operands are added to the worklist (unless they were already
More information about the llvm-branch-commits
mailing list