[Mlir-commits] [mlir] [mlir][Interfaces] `ValueBoundsOpInterface`: Fix typo (PR #87976)

Matthias Springer llvmlistbot at llvm.org
Wed Apr 10 23:25:55 PDT 2024


https://github.com/matthias-springer updated https://github.com/llvm/llvm-project/pull/87976

>From 0a7a53e11205a10d8481200bead3d2277abdaa68 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 Mlir-commits mailing list