File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/Dialect/AIEVec/Transforms Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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; });
You can’t perform that action at this time.
0 commit comments