[X86][SSE] combineSubToSubus - support v8i64 handling from SSSE3
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 24 Feb 2018 14:06:39 +0000 (14:06 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 24 Feb 2018 14:06:39 +0000 (14:06 +0000)
commita4fb569483082cdfb644c9ce02157b6ec67ce1a4
tree8046c98777611939c74d724ae7d12b40cc6526b8
parent8ad91261e872d676f8ac2a093420b25b05c8ee6b
[X86][SSE] combineSubToSubus - support v8i64 handling from SSSE3

Our UMIN/UMAX, vector truncation and shuffle combining is good enough to efficiently handle v8i64 with the number of leading zeros that are necessary for PSUBUS.

llvm-svn: 326034
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/psubus.ll