OSDN Git Service

[InstCombine] Check for out of range shift values using APInt before calling getZExtValue
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 3 Jan 2018 18:28:20 +0000 (18:28 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 3 Jan 2018 18:28:20 +0000 (18:28 +0000)
commit7faa79a499cff3670862c9fc0e1fb14f461d8327
treea0be82b57cc30c56376f48a306b64d9537555957
parent2f0787a62d24ef5cda516f28699820c6b41962df
[InstCombine] Check for out of range shift values using APInt before calling getZExtValue

Reduced from oss-fuzz #4871 test case

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