Skip to content
  1. May 28, 2009
    • Evan Cheng's avatar
      Added optimization that narrow load / op / store and the 'op' is a bit... · a9cda8ab
      Evan Cheng authored
      Added optimization that narrow load / op / store and the 'op' is a bit twiddling instruction and its second operand is an immediate. If bits that are touched by 'op' can be done with a narrower instruction, reduce the width of the load and store as well. This happens a lot with bitfield manipulation code.
      e.g.
      orl     $65536, 8(%rax)
      =>
      orb     $1, 10(%rax)
      
      Since narrowing is not always a win, e.g. i32 -> i16 is a loss on x86, dag combiner consults with the target before performing the optimization.
      
      llvm-svn: 72507
      a9cda8ab
  2. May 27, 2009
  3. May 26, 2009
  4. May 25, 2009
  5. May 24, 2009
  6. May 23, 2009
  7. May 22, 2009
  8. May 20, 2009
  9. May 19, 2009
  10. May 18, 2009
  11. May 17, 2009
  12. May 16, 2009
  13. May 15, 2009
  14. May 14, 2009
  15. May 13, 2009
Loading