1. Oct 30, 2007
  2. Oct 29, 2007
  3. Oct 28, 2007
    • Duncan Sands's avatar
      The guaranteed alignment of ptr+offset is only the minimum of · 1826deda
      Duncan Sands authored
      of offset and the alignment of ptr if these are both powers of
      2.  While the ptr alignment is guaranteed to be a power of 2,
      there is no reason to think that offset is.  For example, if
      offset is 12 (the size of a long double on x86-32 linux) and
      the alignment of ptr is 8, then the alignment of ptr+offset
      will in general be 4, not 8.  Introduce a function MinAlign,
      lifted from gcc, for computing the minimum guaranteed alignment.
      I've tried to fix up everywhere under lib/CodeGen/SelectionDAG/.
      I also changed some places that weren't wrong (because both values
      were a power of 2), as a defensive change against people copying
      and pasting the code.
      Hopefully someone who cares about alignment will review the rest
      of LLVM and fix up the remaining places.  Since I'm on x86 I'm
      not very motivated to do this myself...
      
      llvm-svn: 43421
      1826deda
    • Evan Cheng's avatar
      New entry. · c826ac53
      Evan Cheng authored
      llvm-svn: 43420
      c826ac53
    • Ted Kremenek's avatar
      Implemented serialization of FunctionTypeProto. · 3fd831fd
      Ted Kremenek authored
      llvm-svn: 43419
      3fd831fd
    • Ted Kremenek's avatar
      Implemented serialization of FunctionTypeNoProto. · d33b4ada
      Ted Kremenek authored
      llvm-svn: 43418
      d33b4ada
    • Ted Kremenek's avatar
      Implemented serialization for VectorType. · 3e6c227f
      Ted Kremenek authored
      llvm-svn: 43417
      3e6c227f
  4. Oct 27, 2007