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.
_mlir_
1 parent 07bafab commit c1d030eCopy full SHA for c1d030e
mlir/lib/ExecutionEngine/ExecutionEngine.cpp
@@ -146,12 +146,10 @@ static void packFunctionArguments(Module *module) {
146
llvm::IRBuilder<> builder(ctx);
147
DenseSet<llvm::Function *> interfaceFunctions;
148
for (auto &func : module->getFunctionList()) {
149
- if (func.isDeclaration()) {
+ if (func.isDeclaration() || func.hasLocalLinkage())
150
continue;
151
- }
152
- if (interfaceFunctions.count(&func)) {
+ if (interfaceFunctions.count(&func))
153
154
155
156
// Given a function `foo(<...>)`, define the interface function
157
// `mlir_foo(i8**)`.
0 commit comments