1. Nov 05, 2007
  2. Nov 04, 2007
    • Duncan Sands's avatar
      Change uses of getTypeSize to getABITypeSize, getTypeStoreSize · 399d9798
      Duncan Sands authored
      or getTypeSizeInBits as appropriate in ScalarReplAggregates.
      The right change to make was not always obvious, so it would
      be good to have an sroa guru review this.  While there I noticed
      some bugs, and fixed them: (1) arrays of x86 long double have
      holes due to alignment padding, but this wasn't being spotted
      by HasStructPadding (renamed to HasPadding).  The same goes
      for arrays of oddly sized ints.  Vectors also suffer from this,
      in fact the problem for vectors is much worse because basic
      vector assumptions seem to be broken by vectors of type with
      alignment padding.   I didn't try to fix any of these vector
      problems.  (2) The code for extracting smaller integers from
      larger ones (in the "int union" case) was wrong on big-endian
      machines for integers with size not a multiple of 8, like i1.
      Probably this is impossible to hit via llvm-gcc, but I fixed
      it anyway while there and added a testcase.  I also got rid of
      some trailing whitespace and changed a function name which
      had an obvious typo in it.
      
      llvm-svn: 43672
      399d9798
    • Evan Cheng's avatar
      If an interval is being undone clear its preference as well since the source... · 5c1b0448
      Evan Cheng authored
      If an interval is being undone clear its preference as well since the source interval may have been undone as well.
      
      llvm-svn: 43670
      5c1b0448
    • Chris Lattner's avatar
      Fix PR1763 by allowing the 'q' constraint to work with 64-bit · 296160d4
      Chris Lattner authored
      regs on x86-64.
      
      llvm-svn: 43669
      296160d4
    • Chris Lattner's avatar
      Disable tail duplication of call instructions. The cost · ce8c6266
      Chris Lattner authored
      metric is way off for these in general, and this works around
      buggy code like that in PR1764.  we'll see if there is a big
      performance impact of this.  If so, I'll revert it tomorrow.
      
      llvm-svn: 43668
      ce8c6266
    • Chris Lattner's avatar
      finish the 'Memory in LLVM' section · 65a146d4
      Chris Lattner authored
      llvm-svn: 43667
      65a146d4
    • Steve Naroff's avatar
      · 66697aa7
      Steve Naroff authored
      Add a method prototype slot/getter to the ObjCMessageExpr AST.
      
      llvm-svn: 43666
      66697aa7
  3. Nov 03, 2007