OSDN Git Service

[InstCombine] Don't crash on out of bounds shifts
authorIgor Laevsky <igmyrj@gmail.com>
Tue, 5 Dec 2017 12:18:15 +0000 (12:18 +0000)
committerIgor Laevsky <igmyrj@gmail.com>
Tue, 5 Dec 2017 12:18:15 +0000 (12:18 +0000)
commitb8aa60d240c62f4a2e7eaaba707dceaaff7704e8
treec4faeadb2c4046c99c54c1063bcf52aeb611c45a
parentf071b970e463948c160677d37e8c17b7776663cc
[InstCombine] Don't crash on out of bounds shifts

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319761 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp
test/Transforms/InstCombine/out-of-bounds-indexes.ll [new file with mode: 0644]