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 | 3f715e260a372e32fe4635d7510eaee11d53129d (patch) | |
tree | a50e9fafe342004e48af1abf4505049c9f0dcd45 /llvm/lib/Bitcode | |
parent | 28e2cd0e7e2afeefed417bf9b33cf0d8552f15f5 (diff) | |
download | bcm5719-llvm-3f715e260a372e32fe4635d7510eaee11d53129d.tar.gz bcm5719-llvm-3f715e260a372e32fe4635d7510eaee11d53129d.zip |
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.
llvm-svn: 183080
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions