llvm-6502/test/Transforms/SROA
Chandler Carruth 176792990e Fix PR14132 and handle OOB loads speculated throuh PHI nodes.
The issue is that we may end up with newly OOB loads when speculating
a load into the predecessors of a PHI node, and this confuses the new
integer splitting logic in some cases, triggering an assertion failure.
In fact, the branch in question must be dead code as it loads from
a too-narrow alloca. Add code to handle this gracefully and leave the
requisite FIXMEs for both optimizing more aggressively and doing more to
aid sanitizing invalid code which triggers these patterns.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168361 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-20 10:02:19 +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 Rework the rewriting of loads and stores for vector and integer allocas 2012-11-20 01:12:50 +00:00
big-endian.ll Teach SROA how to split whole-alloca integer loads and stores into 2012-10-25 04:37:07 +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 Fix PR14132 and handle OOB loads speculated throuh PHI nodes. 2012-11-20 10:02:19 +00:00
vector-promotion.ll Rework the rewriting of loads and stores for vector and integer allocas 2012-11-20 01:12:50 +00:00