You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by Apache Wiki <wi...@apache.org> on 2008/05/12 09:57:14 UTC

[Harmony Wiki] Update of "Jitrino OPT/cg dce" by Mikhail Fursov

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by Mikhail Fursov:
http://wiki.apache.org/harmony/Jitrino_OPT/cg_dce

New page:
''' 'cg_dce' '''LIR transformation removes unused operands, instruction and unreachable nodes from LIR
[[BR]]

The algorithm:
{{{
1. For every instruction check if it has any side effect
2. Remove the instruction if no side effect found. Remove one of the edges if the instruction removed is a branch.
3. Remove empty nodes and unreachable nodes and merge adjustment nodes.
}}}