Skip to content
  1. Nov 04, 2007
    • Gordon Henriksen's avatar
      Removing a dead reference from LLVM.xcodeproj. · d210e9d8
      Gordon Henriksen authored
      llvm-svn: 43673
      d210e9d8
    • 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
  2. Nov 03, 2007
  3. Nov 02, 2007
  4. Nov 01, 2007
    • Neil Booth's avatar
      Add back line whose removal somehow crept into prior patch · ae077d23
      Neil Booth authored
      llvm-svn: 43627
      ae077d23
    • Neil Booth's avatar
      When converting to integer, do bit manipulations in the destination · 618d0fc3
      Neil Booth authored
      memory rather than in a copy of the APFloat.  This avoids problems
      when the destination is wider than our significand and is cleaner.
      
      Also provide deterministic values in all cases where conversion
      fails, namely zero for NaNs and the minimal or maximal value
      respectively for underflow or overflow.
      
      llvm-svn: 43626
      618d0fc3
    • Ted Kremenek's avatar
      Simplified Serialization code for SourceLocation and SourceRange, and · 5e2eb261
      Ted Kremenek authored
      updated it to the recently updated Serialization API.
      
      Changed clients of SourceLocation serialization to call the
      appropriate new methods.
      
      Updated Decl serialization code to put new skeleton serialization code
      in place that is much better than the older trait-specialization
      approach.
      
      llvm-svn: 43625
      5e2eb261
    • Ted Kremenek's avatar
      Removed ReadVal from SerializeTrait<T>, and also removed it from · 478c6982
      Ted Kremenek authored
      Deserializer.
      
      There were issues with Visual C++ barfing when instantiating
      SerializeTrait<T> when "T" was an abstract class AND
      SerializeTrait<T>::ReadVal was *never* called:
      
      template <typename T>
      struct SerializeTrait {
       <SNIP>
        static inline T ReadVal(Deserializer& D) { T::ReadVal(D); }
       <SNIP>
      };
      
      Visual C++ would complain about "T" being an abstract class, even
      though ReadVal was never instantiated (although one of the other
      member functions were).
      
      Removing this from the trait is not a big deal.  It was used hardly
      ever, and users who want "read-by-value" deserialization can simply
      call the appropriate methods directly instead of relying on
      trait-based-dispatch.  The trait dispatch for
      serialization/deserialization is simply sugar in many cases (like this
      one).
      
      llvm-svn: 43624
      478c6982
    • Fariborz Jahanian's avatar
      65590b25
Loading