[all-commits] [llvm/llvm-project] d3c6c3: ValueTracking: Sign handling for minnum/maxnum

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue May 2 16:10:51 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3c6c3f63c1276b4506d892fecadc0d155b35e2b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/Attributor/nofpclass-minimum-maximum.ll
    M llvm/test/Transforms/Attributor/nofpclass-minnum-maxnum.ll

  Log Message:
  ValueTracking: Sign handling for minnum/maxnum

If we know one operand is positive for maxnum, or one is negative
for minnum, the result will have the same sign.

More information about the All-commits mailing list