Nick Lewycky e4546cb71e When determining the new index for an insertelement, we may not assume that an
index greater than the size of the vector is invalid. The shuffle may be
shrinking the size of the vector. Fixes a crash!

Also drop the maximum recursion depth of the safety check for this
optimization to five.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183080 91177308-0d34-0410-b5e6-96231b3b80d8
2013-06-01 20:51:31 +00:00
..
2013-02-16 23:41:36 +00:00
2013-04-20 17:39:52 +00:00
2012-11-14 20:18:34 +00:00
2012-12-04 00:04:54 +00:00
2013-03-28 19:34:14 +00:00
2012-12-05 00:33:16 +00:00

This directory contains test cases for the instcombine transformation.  The
dated tests are actual bug tests, whereas the named tests are used to test
for features that the this pass should be capable of performing.