Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic Control Structures #6

Open
1 of 5 tasks
f0rki opened this issue Oct 26, 2016 · 0 comments
Open
1 of 5 tasks

Basic Control Structures #6

f0rki opened this issue Oct 26, 2016 · 0 comments

Comments

@f0rki
Copy link
Owner

f0rki commented Oct 26, 2016

in mapping-control-structures-to-llvm-ir

  • how if/then/else and loops map to basic blocks and branch instructions
  • switch
  • The role of SSA in LLVM IR. Explain the purpose of the phi instruction; show how it becomes obvious that you need it as soon as you encounter multiple blocks that contribute a value through different temporaries. In a way, phi ought to have been called "join" as it sort of joins up subexpressions from different basic blocks.
  • calls, returns, callgraph
  • add additional resources, link to LLVM documentation

I think we should keep this rather short, as this is probably general knowledge for people looking at this article and is covered very well by other LLVM documentation already. For completeness sake we shouldn't remove it entirely though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant