hanchenye-llvm-project/llvm/test/Transforms/SROA
Chandler Carruth 0e8a52d18f Fix PR15674 (and PR15603): a SROA think-o.
The fix for PR14972 in r177055 introduced a real think-o in the *store*
side, likely because I was much more focused on the load side. While we
can arbitrarily widen (or narrow) a loaded value, we can't arbitrarily
widen a value to be stored, as that changes the width of memory access!
Lock down the code path in the store rewriting which would do this to
only handle the intended circumstance.

All of the existing tests continue to pass, and I've added a test from
the PR.

llvm-svn: 178974
2013-04-07 11:47:54 +00:00
..
alignment.ll Teach SROA to cope with wrapper aggregates. These show up a lot in ABI 2012-10-13 10:49:33 +00:00
basictest.ll Fix PR15674 (and PR15603): a SROA think-o. 2013-04-07 11:47:54 +00:00
big-endian.ll Fix typo in test-case. 2012-12-12 20:29:06 +00:00
fca.ll Teach the integer-promotion rewrite strategy to be endianness aware. 2012-10-04 10:39:28 +00:00
lit.local.cfg
phi-and-select.ll PR14972: SROA vs. GVN exposed a really bad bug in SROA. 2013-03-14 11:32:24 +00:00
vector-promotion.ll Teach the rewriting of memcpy calls to support subvector copies. 2012-12-17 14:51:24 +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