[X86][SSE] Add SimplifyDemandedVectorElts support for SSE splat-vector-shifts.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 18 Nov 2018 20:21:52 +0000 (20:21 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 18 Nov 2018 20:21:52 +0000 (20:21 +0000)
commitb31bdbd2e912f3b814ebd286131c5da64bb4bff9
treed298c7ad7634d653dbf8c048329830d694f69c1e
parent11d50948e26261bc80a1c745422995d1f02aebb5
[X86][SSE] Add SimplifyDemandedVectorElts support for SSE splat-vector-shifts.

SSE vector shifts only use the bottom 64-bits of the shift amount vector.

llvm-svn: 347173
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/vector-rotate-128.ll
llvm/test/CodeGen/X86/vector-rotate-256.ll
llvm/test/CodeGen/X86/vshift-1.ll
llvm/test/CodeGen/X86/vshift-2.ll