[Mlir-commits] [mlir] [mlir][vector] Update the internal representation of in_bounds (PR #100336)

Benjamin Maxwell llvmlistbot at llvm.org
Wed Aug 14 08:28:18 PDT 2024


================
@@ -1300,7 +1300,7 @@ class DropInnerMostUnitDimsTransferRead
     if (dimsToDrop == 0)
       return failure();
 
-    auto inBounds = readOp.getInBoundsValues();
+    auto inBounds = readOp.getInBounds();
     auto droppedInBounds = ArrayRef<bool>(inBounds).take_back(dimsToDrop);
----------------
MacDue wrote:

nit: now that `getInBounds()` returns an ArrayRef this can just be:
```c++
    auto droppedInBounds = readOp.getInBounds().take_back(dimsToDrop);
```


https://github.com/llvm/llvm-project/pull/100336


More information about the Mlir-commits mailing list