OSDN Git Service

[InstCombine] Check for out of range ashr values using APInt before calling getZExtValue
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 9 Jan 2018 14:23:46 +0000 (14:23 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 9 Jan 2018 14:23:46 +0000 (14:23 +0000)
commit5646bdb21b9d72bea009552368f4bc6bc3bb1b7a
tree35d49e6c3232c70e03548243d81cac7d32e9c25f
parent0d0979698a3b797275b7f669143ea093f9a2f0b3
[InstCombine] Check for out of range ashr values using APInt before calling getZExtValue

Reduced from oss-fuzz #5032 test case

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@322078 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineShifts.cpp
test/Transforms/InstCombine/shift.ll