1. 18 Sep, 2014 1 commit
    • Subzero: Add branch optimization. · ff9c7063
      Jim Stichnoth authored
      1. Unconditional branch to the next basic block is removed.
      
      2. For a conditional branch with a "false" edge to the next basic block, remove the unconditional branch to the fallthrough block.
      
      3. For a conditional branch with a "true" edge to the next basic block, invert the condition and do like #2.
      
      This is enabled only for O2, particularly because inverting the branch condition is a marginally risky operation.
      
      This decreases the instruction count by about 5-6%.
      
      Also, --stats prints a final tally to make it easier to post-process the output.
      
      BUG= none
      R=jvoung@chromium.org
      
      Review URL: https://codereview.chromium.org/580903005
  2. 17 Sep, 2014 5 commits
  3. 16 Sep, 2014 5 commits
  4. 15 Sep, 2014 2 commits
  5. 12 Sep, 2014 4 commits
  6. 11 Sep, 2014 3 commits
  7. 10 Sep, 2014 3 commits
  8. 09 Sep, 2014 5 commits
  9. 08 Sep, 2014 4 commits
  10. 05 Sep, 2014 2 commits
  11. 04 Sep, 2014 4 commits
  12. 03 Sep, 2014 2 commits