[X86] Make memcmp() use PTEST if possible and also enable AVX1
authorDavid Zarzycki <dave@znu.io>
Tue, 15 Oct 2019 17:40:12 +0000 (17:40 +0000)
committerDavid Zarzycki <dave@znu.io>
Tue, 15 Oct 2019 17:40:12 +0000 (17:40 +0000)
commitc345de274488a83fbc77806c1ae202050df5f1d5
tree74f30cf6474dc8f7ce237b528d9630afb97217ea
parentb09882b09654073b8ab2de081e0d72c53938fdd5
[X86] Make memcmp() use PTEST if possible and also enable AVX1

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374922 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/memcmp-minsize.ll
test/CodeGen/X86/memcmp-optsize.ll
test/CodeGen/X86/memcmp.ll
test/CodeGen/X86/setcc-wide-types.ll