Skip to content
  1. May 30, 2009
  2. May 14, 2009
  3. May 13, 2009
  4. Feb 05, 2009
  5. Dec 03, 2008
  6. Nov 14, 2008
  7. Nov 13, 2008
  8. Nov 12, 2008
  9. Nov 07, 2008
  10. Nov 06, 2008
  11. Nov 05, 2008
  12. Nov 03, 2008
  13. Oct 31, 2008
  14. Oct 14, 2008
  15. Oct 12, 2008
  16. Oct 07, 2008
  17. Sep 17, 2008
  18. Sep 13, 2008
  19. Sep 12, 2008
  20. Sep 01, 2008
  21. Aug 31, 2008
  22. Aug 29, 2008
  23. Jul 27, 2008
  24. Mar 15, 2008
  25. Feb 27, 2008
  26. Jan 17, 2008
    • Chris Lattner's avatar
      This commit changes: · 1ea55cf8
      Chris Lattner authored
      1. Legalize now always promotes truncstore of i1 to i8. 
      2. Remove patterns and gunk related to truncstore i1 from targets.
      3. Rename the StoreXAction stuff to TruncStoreAction in TLI.
      4. Make the TLI TruncStoreAction table a 2d table to handle from/to conversions.
      5. Mark a wide variety of invalid truncstores as such in various targets, e.g.
         X86 currently doesn't support truncstore of any of its integer types.
      6. Add legalize support for truncstores with invalid value input types.
      7. Add a dag combine transform to turn store(truncate) into truncstore when
         safe.
      
      The later allows us to compile CodeGen/X86/storetrunc-fp.ll to:
      
      _foo:
      	fldt	20(%esp)
      	fldt	4(%esp)
      	faddp	%st(1)
      	movl	36(%esp), %eax
      	fstps	(%eax)
      	ret
      
      instead of:
      
      _foo:
      	subl	$4, %esp
      	fldt	24(%esp)
      	fldt	8(%esp)
      	faddp	%st(1)
      	fstps	(%esp)
      	movl	40(%esp), %eax
      	movss	(%esp), %xmm0
      	movss	%xmm0, (%eax)
      	addl	$4, %esp
      	ret
      
      llvm-svn: 46140
      1ea55cf8
Loading