Skip to content
  1. Oct 23, 2007
  2. Jun 29, 2007
  3. Jun 22, 2007
  4. Apr 02, 2007
    • Chris Lattner's avatar
      Fix a bug which caused us to never be able to use signed comparisons for · 3e21eb7f
      Chris Lattner authored
      equality comparisons of a constant.  This allows us to codegen the 'sintzero'
      loop in PR1288 as:
      
      LBB1_1: ;cond_next
              li r4, 0
              addi r2, r2, 1
              stw r4, 0(r3)
              addi r3, r3, 4
              cmpwi cr0, r2, -1
              bne cr0, LBB1_1 ;cond_next
      
      instead of:
      
      LBB1_1: ;cond_next
              addi r2, r2, 1
              li r4, 0
              xoris r5, r2, 65535
              stw r4, 0(r3)
              addi r3, r3, 4
              cmplwi cr0, r5, 65535
              bne cr0, LBB1_1 ;cond_next
      
      This implements CodeGen/PowerPC/compare-simm.ll, and also cuts 74
      instructions out of kc++.
      
      llvm-svn: 35590
      3e21eb7f
  5. Dec 19, 2006
  6. Dec 12, 2006
  7. Dec 07, 2006
  8. Dec 06, 2006
  9. Nov 28, 2006
  10. Nov 17, 2006
  11. Nov 16, 2006
  12. Nov 15, 2006
  13. Nov 14, 2006
  14. Nov 11, 2006
  15. Nov 10, 2006
  16. Nov 08, 2006
  17. Nov 02, 2006
    • Reid Spencer's avatar
      For PR786: · de46e484
      Reid Spencer authored
      Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
      fall out by removing unused variables. Remaining warnings have to do with
      unused functions (I didn't want to delete code without review) and unused
      variables in generated code. Maintainers should clean up the remaining
      issues when they see them. All changes pass DejaGnu tests and Olden.
      
      llvm-svn: 31380
      de46e484
  18. Oct 31, 2006
  19. Sep 22, 2006
  20. Sep 20, 2006
    • Chris Lattner's avatar
      Improve PPC64 equality comparisons like PPC32 comparisons. · da9b1a93
      Chris Lattner authored
      llvm-svn: 30510
      da9b1a93
    • Chris Lattner's avatar
      Two improvements: · aa3926b7
      Chris Lattner authored
      1. Codegen this comparison:
           if (X == 0x8000)
      
      as:
      
              cmplwi cr0, r3, 32768
              bne cr0, LBB1_2 ;cond_next
      
      instead of:
      
              lis r2, 0
              ori r2, r2, 32768
              cmpw cr0, r3, r2
              bne cr0, LBB1_2 ;cond_next
      
      
      2. Codegen this comparison:
            if (X == 0x12345678)
      
      as:
      
              xoris r2, r3, 4660
              cmplwi cr0, r2, 22136
              bne cr0, LBB1_2 ;cond_next
      
      instead of:
      
              lis r2, 4660
              ori r2, r2, 22136
              cmpw cr0, r3, r2
              bne cr0, LBB1_2 ;cond_next
      
      llvm-svn: 30509
      aa3926b7
  21. Aug 27, 2006
  22. Aug 26, 2006
  23. Aug 16, 2006
  24. Aug 11, 2006
  25. Aug 08, 2006
    • Chris Lattner's avatar
      Start eliminating temporary vectors used to create DAG nodes. Instead, pass · c24a1d30
      Chris Lattner authored
      in the start of an array and a count of operands where applicable.  In many
      cases, the number of operands is known, so this static array can be allocated
      on the stack, avoiding the heap.  In many other cases, a SmallVector can be
      used, which has the same benefit in the common cases.
      
      I updated a lot of code calling getNode that takes a vector, but ran out of
      time.  The rest of the code should be updated, and these methods should be
      removed.
      
      We should also do the same thing to eliminate the methods that take a
      vector of MVT::ValueTypes.
      
      It would be extra nice to convert the dagiselemitter to avoid creating vectors
      for operands when calling getTargetNode.
      
      llvm-svn: 29566
      c24a1d30
    • Evan Cheng's avatar
      Match tablegen isel changes. · b9d34bd0
      Evan Cheng authored
      llvm-svn: 29549
      b9d34bd0
  26. Jul 28, 2006
  27. Jul 27, 2006
  28. Jun 29, 2006
  29. Jun 27, 2006
Loading