commit | 7ab2fce83cd72c0963128b098a78606e77ea15d5 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri Nov 28 13:38:28 2014 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Fri Nov 28 13:49:19 2014 +0000 |
tree | e007ba1393b874f128d0db55fc0c90dbbec9bad8 | |
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