[x86] Fold together the two shift lowering strategies. They were doing
authorChandler Carruth <chandlerc@gmail.com>
Wed, 18 Feb 2015 10:40:38 +0000 (10:40 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 18 Feb 2015 10:40:38 +0000 (10:40 +0000)
commit3378af88028545404aefbc6c0b6eaad1755d4c7f
tree45d5c9c7ac9dbe7d0ec0bb1a11abe439372923d7
parent4fe6d075d59bd01a162eb8589f17a2ca7e874a00
[x86] Fold together the two shift lowering strategies. They were doing
quite literally the same work, we just need to special case the >64-bit
element shift code emission to emit the byte shift instructions and
offsets. This also makes reasoning about each of the vector lowering
strategies easier as we don't have to remember to use both forms.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229662 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp