Skip to content
  1. Apr 03, 2008
  2. Apr 01, 2008
  3. Mar 29, 2008
  4. Mar 26, 2008
    • Roman Levenstein's avatar
      Use a linked data structure for the uses lists of an SDNode, just like · 358e04a1
      Roman Levenstein authored
      LLVM Value/Use does and MachineRegisterInfo/MachineOperand does.
      This allows constant time for all uses list maintenance operations.
      
      The idea was suggested by Chris. Reviewed by Evan and Dan.
      Patch is tested and approved by Dan.
      
      On normal use-cases compilation speed is not affected. On very big basic
      blocks there are compilation speedups in the range of 15-20% or even better. 
      
      llvm-svn: 48822
      358e04a1
  5. Mar 24, 2008
  6. Mar 22, 2008
  7. Mar 21, 2008
    • Duncan Sands's avatar
      Introduce a new node for holding call argument · d97eea37
      Duncan Sands authored
      flags.  This is needed by the new legalize types
      infrastructure which wants to expand the 64 bit
      constants previously used to hold the flags on
      32 bit machines.  There are two functional changes:
      (1) in LowerArguments, if a parameter has the zext
      attribute set then that is marked in the flags;
      before it was being ignored; (2) PPC had some bogus
      code for handling two word arguments when using the
      ELF 32 ABI, which was hard to convert because of
      the bogusness.  As suggested by the original author
      (Nicolas Geoffray), I've disabled it for the moment.
      Tested with "make check" and the Ada ACATS testsuite.
      
      llvm-svn: 48640
      d97eea37
    • Chris Lattner's avatar
      remove Evan's "ugly hack" that sorta attempted to get · 68b11e14
      Chris Lattner authored
      x86-64 return conventions correct, but was never enabled.
      We can now do the "right thing" with multiple return values.
      
      llvm-svn: 48635
      68b11e14
  8. Mar 20, 2008
  9. Mar 19, 2008
  10. Mar 12, 2008
    • Chris Lattner's avatar
      Reimplement the parameter attributes support, phase #1. hilights: · 8a923e7c
      Chris Lattner authored
      1. There is now a "PAListPtr" class, which is a smart pointer around
         the underlying uniqued parameter attribute list object, and manages
         its refcount.  It is now impossible to mess up the refcount.
      2. PAListPtr is now the main interface to the underlying object, and
         the underlying object is now completely opaque.
      3. Implementation details like SmallVector and FoldingSet are now no
         longer part of the interface.
      4. You can create a PAListPtr with an arbitrary sequence of
         ParamAttrsWithIndex's, no need to make a SmallVector of a specific 
         size (you can just use an array or scalar or vector if you wish).
      5. All the client code that had to check for a null pointer before
         dereferencing the pointer is simplified to just access the 
         PAListPtr directly.
      6. The interfaces for adding attrs to a list and removing them is a
         bit simpler.
      
      Phase #2 will rename some stuff (e.g. PAListPtr) and do other less 
      invasive changes.
      
      llvm-svn: 48289
      8a923e7c
  11. Mar 11, 2008
  12. Mar 10, 2008
  13. Mar 09, 2008
  14. Mar 08, 2008
  15. Mar 07, 2008
  16. Mar 05, 2008
  17. Mar 04, 2008
  18. Mar 03, 2008
  19. Mar 01, 2008
  20. Feb 28, 2008
  21. Feb 27, 2008
    • Chris Lattner's avatar
      Make X86TargetLowering::LowerSINT_TO_FP return without creating a dead · 83263b8c
      Chris Lattner authored
      stack slot and store if the  SINT_TO_FP is actually legal.  This allows
      us to compile:
      
      double a(double b) {return (unsigned)b;}
      
      to:
      
      _a:
      	cvttsd2siq	%xmm0, %rax
      	movl	%eax, %eax
      	cvtsi2sdq	%rax, %xmm0
      	ret
      
      instead of:
      
      _a:
      	subq	$8, %rsp
      	cvttsd2siq	%xmm0, %rax
      	movl	%eax, %eax
      	cvtsi2sdq	%rax, %xmm0
      	addq	$8, %rsp
      	ret
      
      crazy.
      
      llvm-svn: 47660
      83263b8c
  22. Feb 26, 2008
Loading