Skip to content

Commit

Permalink
wip fix for #866
Browse files Browse the repository at this point in the history
  • Loading branch information
philipportner committed Oct 25, 2024
1 parent 649b2da commit c9f82fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/lowering/SpecializeGenericFunctionsPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ class SpecializeGenericFunctionsPass : public PassWrapper<SpecializeGenericFunct
callOp.setCalleeAttr(specializedFunc.getSymNameAttr());
if (fixResultTypes(callOp->getResults(), specializedFunc.getFunctionType())) {
inferTypesInFunction(function);
inferTypesInFunction(specializedFunc);
}
specializeCallsInFunction(specializedFunc);
called.insert(specializedFunc);
Expand Down

0 comments on commit c9f82fb

Please sign in to comment.