OSDN Git Service

[InstCombine] Don't crash on out of bounds index in the insertelement
authorIgor Laevsky <igmyrj@gmail.com>
Thu, 7 Dec 2017 15:00:52 +0000 (15:00 +0000)
committerIgor Laevsky <igmyrj@gmail.com>
Thu, 7 Dec 2017 15:00:52 +0000 (15:00 +0000)
commite18338969d0ed13427863fb23fa4a5c8e8df0b14
tree00130344d2a9074d3d847d138b472a914a8b7895
parent066502e9ff665696ecc58920fc84a51cc142adbd
[InstCombine] Don't crash on out of bounds index in the insertelement

Differential Revision: https://reviews.llvm.org/D40390

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320049 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
test/Transforms/InstCombine/out-of-bounds-indexes.ll
test/Transforms/InstCombine/vector_insertelt_shuffle.ll