[all-commits] [llvm/llvm-project] 905d17: [InstCombine] allow matching vector splat constant...

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


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    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] allow matching vector splat constants in foldLogOpOfMaskedICmps()

This is NFC-intended for scalar code. There are still unnecessary
m_ConstantInt restrictions in surrounding code, so this is not a
complete fix.

This prevents regressions seen with a planned follow-on to D111410.




More information about the All-commits mailing list