Skip to content

Commit bb8b91a

Browse files
committed
update mlir
1 parent 422076a commit bb8b91a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Dialect/AIEVec/Transforms/VectorToVectorConversions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ struct FlattenMultDimTransferReadPattern
413413
auto inBoundsArrayAttrOpt = adaptor.getInBounds();
414414
if (inBoundsArrayAttrOpt) {
415415
SmallVector<bool> inBounds = llvm::to_vector(
416-
inBoundsArrayAttrOpt.value().getAsValueRange<BoolAttr>());
416+
inBoundsArrayAttrOpt.getAsValueRange<BoolAttr>());
417417
SmallVector<bool> newInBounds({false});
418418
newInBounds[0] = std::all_of(inBounds.begin(), inBounds.end(),
419419
[](bool v) { return v; });
@@ -473,7 +473,7 @@ struct FlattenMultDimTransferWritePattern
473473
auto inBoundsArrayAttrOpt = adaptor.getInBounds();
474474
if (inBoundsArrayAttrOpt) {
475475
SmallVector<bool> inBounds = llvm::to_vector(
476-
inBoundsArrayAttrOpt.value().getAsValueRange<BoolAttr>());
476+
inBoundsArrayAttrOpt.getAsValueRange<BoolAttr>());
477477
SmallVector<bool> newInBounds({false});
478478
newInBounds[0] = std::all_of(inBounds.begin(), inBounds.end(),
479479
[](bool v) { return v; });

0 commit comments

Comments
 (0)