[all-commits] [llvm/llvm-project] 861ada: [InstCombine] Support splat vectors in some and of...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Nov 10 13:40:48 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 861adaf2ad20e13df0209c39bddacd16b78e3bb2
      https://github.com/llvm/llvm-project/commit/861adaf2ad20e13df0209c39bddacd16b78e3bb2
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-11-10 (Wed, 10 Nov 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
    M llvm/test/Transforms/InstCombine/and.ll
    M llvm/test/Transforms/InstCombine/and2.ll
    M llvm/test/Transforms/InstCombine/merge-icmp.ll

  Log Message:
  -----------
  [InstCombine] Support splat vectors in some and of icmp folds

Replace m_ConstantInt() with m_APInt() to support splat vectors
in addition to scalar integers.




More information about the All-commits mailing list