Skip to content
  1. Dec 17, 2009
  2. Dec 16, 2009
  3. Dec 15, 2009
    • Bob Wilson's avatar
      Reapply 91184 with fixes and an addition to the testcase to cover the problem · e44756d7
      Bob Wilson authored
      found last time.  Instead of trying to modify the IR while iterating over it,
      I've change it to keep a list of WeakVH references to dead instructions, and
      then delete those instructions later.  I also added some special case code to
      detect and handle the situation when both operands of a memcpy intrinsic are
      referencing the same alloca.
      
      llvm-svn: 91459
      e44756d7
  4. Dec 14, 2009
  5. Dec 12, 2009
    • Bob Wilson's avatar
      Revise scalar replacement to be more flexible about handle bitcasts and GEPs. · 895f364a
      Bob Wilson authored
      While scanning through the uses of an alloca, keep track of the current offset
      relative to the start of the alloca, and check memory references to see if
      the offset & size correspond to a component within the alloca.  This has the
      nice benefit of unifying much of the code from isSafeUseOfAllocation,
      isSafeElementUse, and isSafeUseOfBitCastedAllocation.  The code to rewrite
      the uses of a promoted alloca, after it is determined to be safe, is
      reorganized in the same way.
      
      Also, when rewriting GEP instructions, mark them as "in-bounds" since all the
      indices are known to be safe.
      
      llvm-svn: 91184
      895f364a
  6. Dec 09, 2009
  7. Dec 08, 2009
  8. Dec 04, 2009
  9. Nov 29, 2009
  10. Nov 27, 2009
  11. Nov 23, 2009
  12. Oct 23, 2009
  13. Oct 05, 2009
  14. Sep 15, 2009
  15. Sep 02, 2009
  16. Aug 23, 2009
  17. Aug 19, 2009
  18. Aug 17, 2009
  19. Aug 13, 2009
  20. Jul 31, 2009
  21. Jul 30, 2009
  22. Jul 29, 2009
  23. Jul 28, 2009
  24. Jul 25, 2009
  25. Jul 22, 2009
  26. Jul 16, 2009
  27. Jul 15, 2009
  28. Jul 14, 2009
  29. Jul 11, 2009
  30. Jul 10, 2009
Loading