[all-commits] [llvm/llvm-project] 2a1502: InstCombine: Introduce nsz flag on minimum/maximum...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Thu Jan 15 00:54:16 PST 2026
Branch: refs/heads/users/arsenm/instcombine-simplify-demanded-fpclass-maximum-introduce-nsz-flag
Home: https://github.com/llvm/llvm-project
Commit: 2a15022c9da4a677adb943681cb6aff6df289ab3
https://github.com/llvm/llvm-project/commit/2a15022c9da4a677adb943681cb6aff6df289ab3
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
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