]> granicus.if.org Git - llvm/commit
Merging r308503:
authorHans Wennborg <hans@hanshq.net>
Fri, 21 Jul 2017 08:01:42 +0000 (08:01 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 21 Jul 2017 08:01:42 +0000 (08:01 +0000)
commita0e6d92ef0536010a35b22f41a754b9d9aaef639
treec3c83bab09c5ebbaceee0fb4f152dbd988172761
parente8f2eb9a3b1752c983454690317eb4012dd424b6
Merging r308503:
------------------------------------------------------------------------
r308503 | davide | 2017-07-19 11:09:46 -0700 (Wed, 19 Jul 2017) | 3 lines

[X86] Don't try to scale down if that exceeds the bitwidth.

Fixes the crash reported in PR33844.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_50@308718 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelDAGToDAG.cpp
test/CodeGen/X86/pr33844.ll [new file with mode: 0644]