1. 19 Sep, 2014 2 commits
  2. 18 Sep, 2014 2 commits
    • Subzero: Allow extra args to be passed to llc and Subzero. · 89906a5e
      Jim Stichnoth authored
      Use --llc to pass extra arguments to pnacl-translate.
      
      Use --sz to pass extra arguments to llvm2ice.
      
      The --stats argument is removed from the script because it is Subzero-only, and can now be done with --sz=--stats .
      
      BUG= none
      R=jvoung@chromium.org
      
      Review URL: https://codereview.chromium.org/582593002
    • 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
  3. 17 Sep, 2014 5 commits
  4. 16 Sep, 2014 5 commits
  5. 15 Sep, 2014 2 commits
  6. 12 Sep, 2014 4 commits
  7. 11 Sep, 2014 3 commits
  8. 10 Sep, 2014 3 commits
  9. 09 Sep, 2014 5 commits
  10. 08 Sep, 2014 4 commits
  11. 05 Sep, 2014 2 commits
  12. 04 Sep, 2014 3 commits