Skip to content
  1. May 23, 2011
    • Chris Lattner's avatar
      Teach valuetracking that byval arguments with a specified alignment are · 83791ced
      Chris Lattner authored
      aligned.
      
      Teach memcpyopt to not give up all hope when confonted with an underaligned
      memcpy feeding an overaligned byval.  If the *source* of the memcpy can be
      determined to be adequeately aligned, or if it can be forced to be, we can
      eliminate the memcpy.
      
      This addresses PR9794.  We now compile the example into:
      
      define i32 @f(%struct.p* nocapture byval align 8 %q) nounwind ssp {
      entry:
        %call = call i32 @g(%struct.p* byval align 8 %q) nounwind
        ret i32 %call
      }
      
      in both x86-64 and x86-32 mode.  We still don't get a tailcall though,
      because tailcalls apparently can't handle byval.
      
      llvm-svn: 131884
      83791ced
  2. May 04, 2011
  3. May 01, 2011
  4. Apr 15, 2011
  5. Feb 15, 2011
  6. Jan 21, 2011
  7. Jan 12, 2011
  8. Jan 10, 2011
  9. Jan 09, 2011
  10. Jan 08, 2011
  11. Dec 26, 2010
  12. Dec 24, 2010
  13. Dec 23, 2010
  14. Dec 16, 2010
  15. Dec 09, 2010
  16. Dec 07, 2010
  17. Dec 01, 2010
  18. Nov 30, 2010
  19. Nov 21, 2010
  20. Nov 20, 2010
  21. Nov 18, 2010
Loading