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 646b67b commit 2feb775Copy full SHA for 2feb775
mlir/lib/Util/Util.cpp
@@ -1708,7 +1708,7 @@ struct BufferMemrefToFuncArgsPattern : public OpRewritePattern<func::FuncOp> {
1708
SmallVector<Type, 6> memrefTypes;
1709
llvm::SetVector<Value> memrefs;
1710
for (auto &op : funcOp.getFunctionBody().getOps()) {
1711
- if (isa<CastOpInterface>(op))
+ if (isa<CastOpInterface, UnrealizedConversionCastOp>(op))
1712
continue;
1713
for (auto res : op.getResults()) {
1714
MemRefType resType = dyn_cast<MemRefType>(res.getType());
0 commit comments