Skip to content
  1. Aug 16, 2011
  2. Jul 25, 2011
  3. Jul 22, 2011
  4. Jul 18, 2011
  5. May 27, 2011
  6. May 19, 2011
  7. Mar 30, 2011
  8. Mar 14, 2011
  9. Mar 13, 2011
    • Jin-Gu Kang's avatar
      Add comment as following: · b7538c71
      Jin-Gu Kang authored
      load and store reference same memory location, the memory location
      is represented by getelementptr with two uses (load and store) and
      the getelementptr's base is alloca with single use. At this point,
      instructions from alloca to store can be removed.
      (this pattern is generated when bitfield is accessed.)
      For example,
      %u = alloca %struct.test, align 4               ; [#uses=1]
      %0 = getelementptr inbounds %struct.test* %u, i32 0, i32 0;[#uses=2]
      %1 = load i8* %0, align 4                       ; [#uses=1]
      %2 = and i8 %1, -16                             ; [#uses=1]
      %3 = or i8 %2, 5                                ; [#uses=1]
      store i8 %3, i8* %0, align 4
      
      llvm-svn: 127565
      b7538c71
  10. Mar 12, 2011
  11. Mar 08, 2011
  12. Feb 15, 2011
  13. Dec 25, 2010
  14. Oct 25, 2010
  15. Aug 31, 2010
  16. Aug 20, 2010
  17. Aug 03, 2010
  18. Jul 22, 2010
  19. Jul 12, 2010
  20. Jul 09, 2010
  21. May 28, 2010
  22. Feb 16, 2010
  23. Feb 15, 2010
  24. Jan 30, 2010
  25. Jan 29, 2010
  26. Jan 22, 2010
  27. Jan 19, 2010
  28. Jan 05, 2010
Loading