Skip to content

Commit 71fe3aa

Browse files
lialanCopilot
andauthored
Update mlir/lib/Dialect/AMDGPU/Transforms/FoldSubviewOps.cpp
Co-authored-by: Copilot <[email protected]>
1 parent 9f6afe1 commit 71fe3aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/AMDGPU/Transforms/FoldSubviewOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ struct FoldSubviewIntoGatherToLDSOp : public OpRewritePattern<GatherToLDSOp> {
4343
auto subviewOp = dyn_cast<memref::SubViewOp>(op.getSrc().getDefiningOp());
4444
if (!subviewOp)
4545
return rewriter.notifyMatchFailure(
46-
loc, "GatherToLDSOp can only be folded if the source is a SubviewOp");
46+
loc, "GatherToLDSOp folding is currently supported only when the source is a SubviewOp. This is one specific pattern, and other scenarios may be added in the future.");
4747

4848
SmallVector<Value> sourceIndices;
4949
mlir::affine::resolveIndicesIntoOpWithOffsetsAndStrides(

0 commit comments

Comments
 (0)