Reduce alignment of SmallVector<T> to the required amount, rather than forcing 16...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 22 Aug 2012 00:11:07 +0000 (00:11 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 22 Aug 2012 00:11:07 +0000 (00:11 +0000)
commitbc363931085587bac42a40653962a3e5acd1ffce
tree1835377d661fdcee7574829624f40fe5909ff98a
parent6871d1eceba0455707de29708c36ae3c2778c160
Reduce alignment of SmallVector<T> to the required amount, rather than forcing 16-byte alignment. This fixes misaligned SmallVector accesses via ExtractValueInst's SmallVector data member.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162331 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/ArrayRef.h
include/llvm/ADT/SmallVector.h
lib/Support/SmallVector.cpp