[all-commits] [llvm/llvm-project] 0f5496: InstCombine: Introduce nsz flag on minimum/maximum...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jan 15 01:23:49 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f54961189623e4bbce4254e4e8ca4c2f65be4fa
      https://github.com/llvm/llvm-project/commit/0f54961189623e4bbce4254e4e8ca4c2f65be4fa
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-01-15 (Thu, 15 Jan 2026)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximum.ll
    M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-maximumnum.ll
    M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimum.ll
    M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-minimumnum.ll

  Log Message:
  -----------
  InstCombine: Introduce nsz flag on minimum/maximum in SimplifyDemandedFPClass (#173898)

Alive isn't particularly happy with this in the case where
one of the inputs could be zero, but I think
it's wrong: https://alive2.llvm.org/ce/z/dF7V6k

nsz shouldn't permit introducing a -0 result where
there wasn't one in the input here.



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