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.
2 parents 0b6320c + 02f45b0 commit 169e305Copy full SHA for 169e305
src/Compiler/CompilerDialects.cpp
@@ -46,8 +46,9 @@ DialectRegistry registerDialects(ArrayRef<accel::Accelerator::Kind> accels) {
46
for (auto *accel : accel::Accelerator::getAccelerators())
47
accel->registerDialects(registry);
48
49
- if (useOldBufferization)
50
- memref::registerAllocationOpInterfaceExternalModels(registry);
+ // Register interface needed by both old and new buffer deallocation pass.
+ memref::registerAllocationOpInterfaceExternalModels(registry);
51
+ arith::registerBufferDeallocationOpInterfaceExternalModels(registry);
52
53
return registry;
54
}
0 commit comments