[all-commits] [llvm/llvm-project] 6db447: [InstCombine] Canonicalize `max(min(X, MinC), MaxC...

Iris Shi via All-commits all-commits at lists.llvm.org
Wed Apr 23 01:32:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6db447f824d46956172b104f08105b25f9428f55
      https://github.com/llvm/llvm-project/commit/6db447f824d46956172b104f08105b25f9428f55
  Author: Iris Shi <0.0 at owo.li>
  Date:   2025-04-23 (Wed, 23 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/clamp-to-minmax.ll
    A llvm/test/Transforms/InstCombine/max-min-canonicalize.ll
    M llvm/test/Transforms/InstCombine/max_known_bits.ll
    M llvm/test/Transforms/InstCombine/minmax-fold.ll
    M llvm/test/Transforms/InstCombine/minmax-intrinsics.ll
    M llvm/test/Transforms/InstCombine/sadd_sat.ll
    M llvm/test/Transforms/InstCombine/select-min-max.ll

  Log Message:
  -----------
  [InstCombine] Canonicalize `max(min(X, MinC), MaxC) -> min(max(X, MaxC), MinC)` (#136665)

Closes #121870.

https://alive2.llvm.org/ce/z/WjmAjz
https://alive2.llvm.org/ce/z/4KCjgL



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list