[Mlir-commits] [mlir] [mlir][vector] Update the internal representation of in_bounds (PR #100336)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Wed Aug 14 05:55:53 PDT 2024
================
@@ -242,10 +242,11 @@ static void generateInBoundsCheck(
}
/// Given an ArrayAttr, return a copy where the first element is dropped.
-static ArrayAttr dropFirstElem(OpBuilder &b, ArrayAttr attr) {
+static DenseBoolArrayAttr dropFirstElem(OpBuilder &b, DenseBoolArrayAttr attr) {
if (!attr)
return attr;
- return ArrayAttr::get(b.getContext(), attr.getValue().drop_front());
----------------
banach-space wrote:
Good catch, just pushed a commit to remove it.
https://github.com/llvm/llvm-project/pull/100336
More information about the Mlir-commits
mailing list