[Mlir-commits] [mlir] [mlir][vector] Make the in_bounds attribute mandatory (PR #97049)

Han-Chung Wang llvmlistbot at llvm.org
Thu Jul 11 10:05:03 PDT 2024


================
@@ -187,6 +187,22 @@ bool AffineMap::isMinorIdentityWithBroadcasting(
   return true;
 }
 
+SmallVector<unsigned> AffineMap::getBroadcastDims() const {
+  SmallVector<unsigned> broadcastedDims = {};
----------------
hanhanW wrote:

I think we don't need the assignment here.
```suggestion
  SmallVector<unsigned> broadcastedDims;
```


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


More information about the Mlir-commits mailing list