File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
mlir/lib/Conversion/VectorToArmSME Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -687,12 +687,17 @@ struct FoldTransferWriteOfExtractTileSlice
687
687
LogicalResult matchAndRewrite (vector::TransferWriteOp writeOp,
688
688
PatternRewriter &rewriter) const final {
689
689
if (!isa<MemRefType>(writeOp.getSource ().getType ()))
690
- return failure ();
690
+ return rewriter.notifyMatchFailure (writeOp, " destination not a memref" );
691
+
692
+ if (writeOp.hasOutOfBoundsDim ())
693
+ return rewriter.notifyMatchFailure (writeOp,
694
+ " not inbounds transfer write" );
691
695
692
696
auto moveTileSlice =
693
697
writeOp.getVector ().getDefiningOp <arm_sme::MoveTileSliceToVectorOp>();
694
698
if (!moveTileSlice)
695
- return failure ();
699
+ return rewriter.notifyMatchFailure (
700
+ writeOp, " vector to store not from MoveTileSliceToVectorOp" );
696
701
697
702
AffineMap map = writeOp.getPermutationMap ();
698
703
if (!map.isMinorIdentity ())
You can’t perform that action at this time.
0 commit comments