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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Apr 10 23:27:15 PDT 2024


Author: Matthias Springer
Date: 2024-04-11T08:27:12+02:00
New Revision: 21265f692e4b3b2146b6095cf23122b20e8fa0ed

URL: https://github.com/llvm/llvm-project/commit/21265f692e4b3b2146b6095cf23122b20e8fa0ed
DIFF: https://github.com/llvm/llvm-project/commit/21265f692e4b3b2146b6095cf23122b20e8fa0ed.diff

LOG: [mlir][Interfaces] `ValueBoundsOpInterface`: Fix typo (#87976)

This was likely a copy-and-paste typo.

Added: 
    

Modified: 
    mlir/lib/Interfaces/ValueBoundsOpInterface.cpp

Removed: 
    


################################################################################
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