Skip to content

Refactor control flow graph to actually compue it properly #11

Description

@dleiferives

I am running into a fundamental issue, namely that I cannot produce the arguments for a basic block without insane spaghetti code. To Resolve this it is pretty clear I need to go back and add dominance. Add all the basic blocks for all the macro uses and such.

To do this I will need to refactor the control flow graph, this will be broken into more stages now.

  1. Produce the cfg
  2. Compute the dominance of the basic blocks
  3. Assign the macro arguments
  4. Then we can do the instructions as normal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions