[all-commits] [llvm/llvm-project] 1a3eac: [InstCombine] Fold `umax(X, C) + -C` into `usub.sa...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Sun Dec 1 07:30:02 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a3eace82a885fca01a70472b3816007dbee9d9f
      https://github.com/llvm/llvm-project/commit/1a3eace82a885fca01a70472b3816007dbee9d9f
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-12-01 (Sun, 01 Dec 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/test/Transforms/InstCombine/saturating-add-sub.ll

  Log Message:
  -----------
  [InstCombine] Fold `umax(X, C) + -C` into `usub.sat(X, C)` (#118195)

Alive2: https://alive2.llvm.org/ce/z/oSWe5S
Closes https://github.com/llvm/llvm-project/issues/118155



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