Skip to content
  1. Aug 03, 2009
    • Jakob Stoklund Olesen's avatar
      Fix Bug 4657: register scavenger asserts with subreg lowering · 5d8ace09
      Jakob Stoklund Olesen authored
      When LowerSubregsInstructionPass::LowerInsert eliminates an INSERT_SUBREG
      instriction because it is an identity copy, make sure that the same registers
      are alive before and after the elimination.
      
      When the super-register is marked <undef> this requires inserting an
      IMPLICIT_DEF instruction to make sure the super register is live.
      
      Fix a related bug where a kill flag on the inserted sub-register was not transferred properly.
      
      Finally, clear the undef flag in MachineInstr::addRegisterKilled. Undef implies dead and kill implies live, so they cant both be valid.
      
      llvm-svn: 77989
      5d8ace09
  2. Aug 01, 2009
  3. Jul 25, 2009
    • Daniel Dunbar's avatar
      More migration to raw_ostream, the water has dried up around the iostream hole. · 0dd5e1ed
      Daniel Dunbar authored
       - Some clients which used DOUT have moved to DEBUG. We are deprecating the
         "magic" DOUT behavior which avoided calling printing functions when the
         statement was disabled. In addition to being unnecessary magic, it had the
         downside of leaving code in -Asserts builds, and of hiding potentially
         unnecessary computations.
      
      llvm-svn: 77019
      0dd5e1ed
  4. Jul 16, 2009
  5. Mar 23, 2009
    • Evan Cheng's avatar
      Do not fold away subreg_to_reg if the source register has a sub-register... · 47c9750f
      Evan Cheng authored
      Do not fold away subreg_to_reg if the source register has a sub-register index. That means the source register is taking a sub-register of a larger register. e.g. On x86
      %RAX<def> = ...
      %RAX<def> = SUBREG_TO_REG 0, %EAX:3<kill>, 3
      The first def is defining RAX, not EAX so the top bits were not zero-extended.
      
      llvm-svn: 67511
      47c9750f
  6. Dec 18, 2008
  7. Nov 21, 2008
  8. Oct 03, 2008
  9. Sep 25, 2008
  10. Sep 23, 2008
  11. Sep 22, 2008
  12. Sep 04, 2008
  13. Aug 20, 2008
  14. Aug 07, 2008
    • Dan Gohman's avatar
      Re-enable elimination of unnecessary SUBREG_TO_REG instructions in · 527ca7e2
      Dan Gohman authored
      LowerSubregs, and fix an x86-64 isel bug that this exposed.
      
      SUBREG_TO_REG for x86-64 implicit zero extension is only safe for
      isel to generate when the source is known to always have zeros in
      the high 32 bits. The EXTRACT_SUBREG instruction does not clear
      the high 32 bits.
      
      llvm-svn: 54444
      527ca7e2
  15. Jul 18, 2008
  16. Jun 17, 2008
  17. Jun 04, 2008
  18. Mar 16, 2008
  19. Mar 13, 2008
    • Christopher Lamb's avatar
      Get rid of a pseudo instruction and replace it with subreg based operation on... · dd55d3f1
      Christopher Lamb authored
      Get rid of a pseudo instruction and replace it with subreg based operation on real instructions, ridding the asm printers of the hack used to do this previously. In the process, update LowerSubregs to be careful about eliminating copies that have side affects. 
      
      Note: the coalescer will have to be careful about this too, when it starts coalescing insert_subreg nodes.
      llvm-svn: 48329
      dd55d3f1
  20. Mar 11, 2008
  21. Mar 10, 2008
  22. Feb 10, 2008
  23. Dec 31, 2007
  24. Dec 29, 2007
  25. Oct 23, 2007
  26. Sep 26, 2007
  27. Sep 14, 2007
  28. Aug 10, 2007
  29. Aug 06, 2007
  30. Jul 26, 2007
Loading