[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 04:22:05 PDT 2024
https://github.com/matthias-springer updated https://github.com/llvm/llvm-project/pull/87976
>From 4a019ca348ce2a65684e6417b656a51437e8176d 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 c138056ab41cc3..fa66da4a0def93 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