summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-06-01 20:51:31 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-06-01 20:51:31 +0000
commit3f715e260a372e32fe4635d7510eaee11d53129d (patch)
treea50e9fafe342004e48af1abf4505049c9f0dcd45 /llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp
parent28e2cd0e7e2afeefed417bf9b33cf0d8552f15f5 (diff)
downloadbcm5719-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/CodeGen/ScoreboardHazardRecognizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud