Skip to content
  1. Mar 21, 2007
  2. Mar 20, 2007
    • Evan Cheng's avatar
      Added MRegisterInfo hook to re-materialize an instruction. · 61f39d18
      Evan Cheng authored
      llvm-svn: 35205
      61f39d18
    • Chris Lattner's avatar
      Two changes: · 3e1d917e
      Chris Lattner authored
      1) codegen a shift of a register as a shift, not an LEA.
      2) teach the RA to convert a shift to an LEA instruction if it wants something
         in three-address form.
      
      This gives us asm diffs like:
      
      -       leal (,%eax,4), %eax
      +       shll $2, %eax
      
      which is faster on some processors and smaller on all of them.
      
      and, more interestingly:
      
      -       movl 24(%esi), %eax
      -       leal (,%eax,4), %edi
      +       movl 24(%esi), %edi
      +       shll $2, %edi
      
      Without #2, #1 was a significant pessimization in some cases.
      
      This implements CodeGen/X86/shift-codegen.ll
      
      llvm-svn: 35204
      3e1d917e
  3. Mar 19, 2007
  4. Mar 17, 2007
  5. Mar 16, 2007
  6. Mar 15, 2007
  7. Mar 14, 2007
  8. Mar 13, 2007
  9. Mar 12, 2007
  10. Mar 10, 2007
  11. Mar 08, 2007
  12. Mar 07, 2007
  13. Mar 06, 2007
  14. Mar 04, 2007
  15. Mar 03, 2007
  16. Mar 02, 2007
  17. Mar 01, 2007
  18. Feb 28, 2007
Loading