[all-commits] [llvm/llvm-project] a94589: [InstCombine] Add icmp of select with implied cond...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri May 6 08:13:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a94589d52f0cc7b64284c4372ab55ec93e4fb1a5
      https://github.com/llvm/llvm-project/commit/a94589d52f0cc7b64284c4372ab55ec93e4fb1a5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-05-06 (Fri, 06 May 2022)

  Changed paths:
    M llvm/test/Transforms/InstCombine/icmp-select.ll

  Log Message:
  -----------
  [InstCombine] Add icmp of select with implied condition tests (NFC)


  Commit: 82190f917ac4813e22a334b805e84dba8ed4f47d
      https://github.com/llvm/llvm-project/commit/82190f917ac4813e22a334b805e84dba8ed4f47d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-05-06 (Fri, 06 May 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/icmp-select.ll
    M llvm/test/Transforms/InstCombine/minmax-fold.ll

  Log Message:
  -----------
  [InstCombine] Fold icmp of select with implied condition

When threading the icmp over the select, check whether the
condition can be folded when taking into account the select
condition.


Compare: https://github.com/llvm/llvm-project/compare/6ed81abec253...82190f917ac4


More information about the All-commits mailing list