]> granicus.if.org Git - llvm/commit
[3.9.1] Merging r280837 [X86] Don't reduce the width of vector mul if the target...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 29 Sep 2016 19:16:52 +0000 (19:16 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 29 Sep 2016 19:16:52 +0000 (19:16 +0000)
commit46079999e9111e8e8c2c1f0511477c3bec38d74a
tree9e5d384624063c66acebbded5f15d6ef4d14df07
parent2eb3d6dc8da226ab716c708d4d2aef4f46308e1f
[3.9.1] Merging r280837 [X86] Don't reduce the width of vector mul if the target doesn't support SSE2.

The patch is to fix PR30298, which is caused by rL272694. The solution is to
bail out if the target has no SSE2.

Differential Revision: https://reviews.llvm.org/D24288

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