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)
commit9fc8593a774941bdd18b20e987cfd62aa353bee8
tree57c32f9e66978c9640674b702a4c20edf5f2a6fa
parentd40bc5f788ac926a56daf7e5a0ce5b347f2f8993
DAG: Fix crash on shift with large shift amounts

Fixes bug 37521.

llvm-svn: 332774
llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
llvm/test/CodeGen/X86/bug37521.ll [new file with mode: 0644]