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 9f6b663 commit 5773061Copy full SHA for 5773061
mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
@@ -142,7 +142,7 @@ class OpFilter {
142
/// This function adds an ALLOW entry.
143
void allowDialect(StringRef dialectNamespace) {
144
Entry::FilterFn filterFn = [=](Operation *op) {
145
- return op->getDialect()->getNamespace() == dialectNamespace;
+ return op->getName().getDialectNamespace() == dialectNamespace;
146
};
147
entries.push_back(Entry{filterFn, Entry::FilterType::ALLOW});
148
}
0 commit comments