llvm-6502/test/Transforms/SROA
Duncan P. N. Exon Smith 0dee67560f SROA: Only split loads on byte boundaries
r199771 accidently broke the logic that makes sure that SROA only splits
load on byte boundaries.  If such a split happens, some bits get lost
when reassembling loads of wider types, causing data corruption.

Move the width check up to reject such splits early, avoiding the
corruption.  Fixes PR19250.

Patch by: Björn Steinbrink <bsteinbr@gmail.com>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211082 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-17 00:19:35 +00:00
..
address-spaces.ll
alignment.ll
basictest.ll
big-endian.ll
fca.ll
phi-and-select.ll
slice-order-independence.ll
slice-width.ll
vector-conversion.ll
vector-promotion.ll
vectors-of-pointers.ll