This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 202
Control flow graph #1
Comments
Closed
A very ugly WIP. https://github.com/mrrrgn/cretonne/commit/19ef16e508df28b916cb8a45490368dd58bfaeff todo:
|
A new approach which moves the CFG into its own data structure. This is tidier and easier to test IMO. Speaking of tests, writing them now. https://github.com/mrrrgn/cretonne/commit/977d11046dcb4383f59a4d3bc9e9a448dbe28c65 The graph printing is still ugly/basic. Thinking about the parser interface as I proceed with that. |
ghost
closed this as completed
Jul 13, 2016
Let's add some tests for the |
ghost
reopened this
Jul 13, 2016
ghost
closed this as completed
Jul 14, 2016
sunfishcode
added a commit
that referenced
this issue
Mar 5, 2019
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Cretonne's in-memory representation needs a control flow graph analysis. This would record for each EBB:
The control flow graph is easily computed from the code, so we don't want to represent it in the textual IR. It would be useful if the iteration order of the predecessor set were stable so it doesn't change when saving out the IR and reloading it.
The text was updated successfully, but these errors were encountered: