[all-commits] [llvm/llvm-project] cbca9c: [InstCombine] Remove min/max special case when fol...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Mar 31 04:48:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbca9ce91c6440f8815742b8a73a27aa81e806e6
      https://github.com/llvm/llvm-project/commit/cbca9ce91c6440f8815742b8a73a27aa81e806e6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

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

  Log Message:
  -----------
  [InstCombine] Remove min/max special case when folding into select

Now that we canonicalize to min/max intrinsics, we no longer need
to guard against this here.

In fact, it seems like the issue from PR46271 was the final push
for introducing the intrinsics in the first place...




More information about the All-commits mailing list