We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb31a72 commit d91aee8Copy full SHA for d91aee8
mlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
@@ -55,6 +55,7 @@ void mlir::linalg::hoistRedundantVectorTransfersOnTensor(func::FuncOp func) {
55
static bool noAliasingUseInLoop(vector::TransferReadOp transferRead,
56
LoopLikeOpInterface loop) {
57
Value source = transferRead.getSource();
58
+ // Skip subview and collapse_shape Ops
59
while (auto subView = source.getDefiningOp<memref::SubViewOp>())
60
source = subView.getSource();
61
while (auto collapsed = source.getDefiningOp<memref::CollapseShapeOp>())
0 commit comments