diff options
author | Vladimir Marko <vmarko@google.com> | 2014-11-28 13:38:28 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2014-11-28 13:49:19 +0000 |
commit | 7ab2fce83cd72c0963128b098a78606e77ea15d5 (patch) | |
tree | e007ba1393b874f128d0db55fc0c90dbbec9bad8 /compiler/optimizing/graph_visualizer.h | |
parent | f2d52e4d32fbedee2a11692e1f1d986ba68ea493 (diff) |
Refactor handling of conditional branches with known result.
Detect IF_cc and IF_ccZ instructions with known results in
the basic block optimization phase (instead for the codegen
phase) and replace them with GOTO/NOP. Kill blocks that are
unreachable as a result.
Change-Id: I169c2fa6f1e8af685f4f3a7fe622f5da862ce329
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions