OSDN Git Service

DAG: Fix crash on shift with large shift amounts
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 18 May 2018 21:54:16 +0000 (21:54 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 18 May 2018 21:54:16 +0000 (21:54 +0000)
commit22ecb3d7128ec0961e0bc8ff0dcc5a794a7aa169
tree0f3828bea766c282ec6c4b88edaa0a1488f1e8d0
parentc1a566a4939c46ddbb0b4946aa84977a05eb3901
DAG: Fix crash on shift with large shift amounts

Fixes bug 37521.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332774 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
test/CodeGen/X86/bug37521.ll [new file with mode: 0644]