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 [SROA] Teach SROA how to handle pointers from address spaces other than 2014-02-26 08:25:02 +00:00
alignment.ll Update Transforms tests to use CHECK-LABEL for easier debugging. No functionality change. 2013-07-14 01:42:54 +00:00
basictest.ll [SROA] Use the correct index integer size in GEPs through non-default 2014-02-26 10:08:16 +00:00
big-endian.ll Update Transforms tests to use CHECK-LABEL for easier debugging. No functionality change. 2013-07-14 01:42:54 +00:00
fca.ll Update Transforms tests to use CHECK-LABEL for easier debugging. No functionality change. 2013-07-14 01:42:54 +00:00
phi-and-select.ll Fix a problem I introduced in r187029 where we would over-eagerly 2013-07-24 12:12:17 +00:00
slice-order-independence.ll SROA: Only split loads on byte boundaries 2014-06-17 00:19:35 +00:00
slice-width.ll SROA: Only split loads on byte boundaries 2014-06-17 00:19:35 +00:00
vector-conversion.ll SROA: Handle casts involving vectors of pointers and integer scalars. 2013-09-21 20:36:04 +00:00
vector-promotion.ll [SROA] Teach SROA how to handle pointers from address spaces other than 2014-02-26 08:25:02 +00:00
vectors-of-pointers.ll Rename the test so that we can add additional vectors-of-pointers tests 2012-12-18 05:50:54 +00:00