Skip to content
Commit 3f715e26 authored by Nick Lewycky's avatar Nick Lewycky
Browse files

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
parent 28e2cd0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment