]> granicus.if.org Git - llvm/commit
[X86] Add 64 bit pattern matching for PSADBW
authorOren Ben Simhon <oren.ben.simhon@intel.com>
Tue, 4 Apr 2017 10:23:18 +0000 (10:23 +0000)
committerOren Ben Simhon <oren.ben.simhon@intel.com>
Tue, 4 Apr 2017 10:23:18 +0000 (10:23 +0000)
commit78ed6ce91d11252e75b6700482aa537de5ad2949
tree07bfeb3ed536878ae52f728203c1f331dd4730bc
parentba1514c2191f3d74893747dde540403d1b05a754
[X86] Add 64 bit pattern matching for PSADBW

PSADBW pattern currently supports the 32 bit IR pattern and only GLT (greather than) comparison.
The patch extends the pattern to catch also 64 bit IR pattern and includes all other comparison types (not only GLT).

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

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