[all-commits] [llvm/llvm-project] bc9c2b: [ConstraintElim] Simplify `MinMaxIntrinsic` (#75306)

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Sun Feb 4 05:07:52 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc9c2be3577c58d3daabff995360bd9bea44b0b9
      https://github.com/llvm/llvm-project/commit/bc9c2be3577c58d3daabff995360bd9bea44b0b9
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-02-04 (Sun, 04 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/test/Transforms/ConstraintElimination/minmax.ll

  Log Message:
  -----------
  [ConstraintElim] Simplify `MinMaxIntrinsic` (#75306)

This patch replaces min/max intrinsic with one of its operands if
possible.
Alive2: https://alive2.llvm.org/ce/z/LoHfYf
Fixes #75155.




More information about the All-commits mailing list