Closed nomaddo closed 6 years ago
General purpose optimizations are like:
Implement DataFlow Graph: Attach information of
Implement General Porpose Optimization phases, which repeat the same optimizations until instructions are not changed (fix point). Ideally, it should be repeated like:
intermediate::instruction
sImplement optimizations such that
To implement such optimizations, we need to repeat traversing CFG many times. We need to avoid such expensive costs to define DataFlow Graph.
Data Flow Graph behaves like "Cache". To avoid using old or wrong cache, interfaces of BasicBlock
or Method
must be carefully designed. This will be big change for the current implementation.
solved in #55
Discussed in #45.