[all-commits] [llvm/llvm-project] d67022: [InstCombine] add vector splat tests for foldLogOp...

RotateRight via All-commits all-commits at lists.llvm.org
Wed Oct 13 07:08:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d67022fba91b3ea3af5bcccea930cd96a430ffb2
      https://github.com/llvm/llvm-project/commit/d67022fba91b3ea3af5bcccea930cd96a430ffb2
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-10-13 (Wed, 13 Oct 2021)

  Changed paths:
    M llvm/test/Transforms/InstCombine/bit-checks.ll
    M llvm/test/Transforms/InstCombine/icmp-logical.ll
    M llvm/test/Transforms/InstCombine/onehot_merge.ll
    M llvm/test/Transforms/InstCombine/or.ll
    M llvm/test/Transforms/InstCombine/sign-test-and-or.ll

  Log Message:
  -----------
  [InstCombine] add vector splat tests for foldLogOpOfMaskedICmps(); NFC

There's a substantial pile of scalar tests for transforms that
depend on this code, but zero vector coverage. This patch adds
a vector test next to the first scalar test in each file that
is affected by foldLogOpOfMaskedICmps.

The code that handles these transforms is artificially limited
from working with vector splat constants.




More information about the All-commits mailing list