SuccessChanges

Summary

  1. [X86] NFC: expand inline memcmp test coverage (details)
  2. [X86] Prefer KORTEST on Knights Landing or later for memcmp() (details)
Commit 0d0509384f054cb4f13260786ee48163ac94d123 by dave
[X86] NFC: expand inline memcmp test coverage
1) Adds SSE4.1 coverage. 2) Adds prefer-256-bit or not coverage. 3) Adds
more power-of-two tests up to 512 bytes. 4) Adds power-of-two-minus-one
tests to verify overlapping loads. 5) Adds power-of-two-plus-one-half
tests (48, 96, 192, and 384). 6) Adds greater-than/less-than tests from
16 to 512 bytes.
https://reviews.llvm.org/D69222
The file was modifiedllvm/test/CodeGen/X86/memcmp.ll
Commit 11c920207afa92ad13fdf72daba14c9af336293a by dave
[X86] Prefer KORTEST on Knights Landing or later for memcmp()
PTEST and especially the MOVMSK instructions are slow on Knights Landing
or later. As a bonus, this patch increases instruction parallelism by
emitting:
   KORTEST(PCMPNEQ(a, b), PCMPNEQ(c, d)) == 0 Instead of:
   KORTEST(AND(PCMPEQ(a, b), PCMPEQ(c, d))) == ~0
https://reviews.llvm.org/D69157
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/setcc-wide-types.ll
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.h
The file was modifiedllvm/lib/Target/X86/X86.td
The file was modifiedllvm/test/CodeGen/X86/memcmp.ll