diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2013-06-01 20:51:31 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2013-06-01 20:51:31 +0000 |
commit | e4546cb71e14baa0cde8f85a12cfa8b2d44fe708 (patch) | |
tree | 16c65db3f1487fe99a4fb6f91ad8b4880e231fec /unittests/ADT | |
parent | a0b34d6c4ab05d0c04905e2aff0c9e6b879908ff (diff) | |
download | external_llvm-e4546cb71e14baa0cde8f85a12cfa8b2d44fe708.zip external_llvm-e4546cb71e14baa0cde8f85a12cfa8b2d44fe708.tar.gz external_llvm-e4546cb71e14baa0cde8f85a12cfa8b2d44fe708.tar.bz2 |
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
Diffstat (limited to 'unittests/ADT')
0 files changed, 0 insertions, 0 deletions