Skip to content
  1. May 12, 2012
  2. Apr 25, 2012
  3. Apr 20, 2012
  4. Feb 28, 2012
  5. Feb 24, 2012
    • Akira Hatanaka's avatar
      Add an option to use a virtual register as the global base register instead of · b049aef2
      Akira Hatanaka authored
      reserving a physical register ($gp or $28) for that purpose.
      
      This will completely eliminate loads that restore the value of $gp after every
      function call, if the register allocator assigns a callee-saved register, or
      eliminate unnecessary loads if it assigns a temporary register. 
      
      example:
      
      .cpload $25       // set $gp.
      ...
      .cprestore 16     // store $gp to stack slot 16($sp).
      ...
      jalr $25          // function call. clobbers $gp.
      lw $gp, 16($sp)   // not emitted if callee-saved reg is chosen.
      ...
      lw $2, 4($gp)
      ...
      jalr $25          // function call.
      lw $gp, 16($sp)   // not emitted if $gp is not live after this instruction.
      ...
      
      llvm-svn: 151402
      b049aef2
  6. Feb 17, 2012
  7. Dec 20, 2011
  8. Oct 05, 2009
  9. Sep 14, 2009
  10. Sep 10, 2009
  11. Jul 20, 2009
  12. Jun 24, 2009
  13. Mar 14, 2009
  14. Mar 04, 2009
  15. Jan 01, 2009
    • Misha Brukman's avatar
      Original patch by Talin. · bcf15388
      Misha Brukman authored
      * Added the first LLVM unittest -- DenseMap.
      * Updated mkpatch utility to include llvm/unittests dir
      * Added top-level target "unittests" to run all unittests
      
      llvm-svn: 61541
      bcf15388
Loading