heir icon indicating copy to clipboard operation
heir copied to clipboard

Support `func.call` / Remove single-function assumption

Open AlexanderViand-Intel opened this issue 11 months ago • 1 comments

Currently, various places in the compiler assume that the entire program is contained inside a single function. However, we clearly want to support the ability to call other functions, though probably with the limitation that the call graph must be trivially resolvable at compile time and must have no cycles (i.e., no recursion).

Related PRs:

  • #1309
  • #1310

AlexanderViand-Intel avatar Jan 25 '25 11:01 AlexanderViand-Intel

This issue has 1 outstanding TODOs:

This comment was autogenerated by todo-backlinks

github-actions[bot] avatar Sep 22 '25 14:09 github-actions[bot]