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 332a504 commit eb0c8deCopy full SHA for eb0c8de
mlir/lib/Target/SPIRV/Serialization/SerializeOps.cpp
@@ -247,7 +247,8 @@ LogicalResult Serializer::processFuncOp(spirv::FuncOp op) {
247
return op.emitError(
248
"'spirv.module' cannot contain external functions "
249
"without 'Import' linkage_attributes (LinkageAttributes)");
250
- } else if (op.isExternal() && hasImportLinkage) {
+ }
251
+ if (op.isExternal() && hasImportLinkage) {
252
// Add an entry block to set up the block arguments
253
// to match the signature of the function.
254
// This is to generate OpFunctionParameter for functions with
0 commit comments