[all-commits] [llvm/llvm-project] 0242a6: [InstCombine] Support splat vectors in some or of ...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0242a6adf73a7cdee55e90989d1d075b607320e1
      https://github.com/llvm/llvm-project/commit/0242a6adf73a7cdee55e90989d1d075b607320e1
  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/or.ll

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

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




More information about the All-commits mailing list