[all-commits] [llvm/llvm-project] b33c06: InstCombine: Fold known-qnan results to a literal nan
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Thu Jan 15 02:24:43 PST 2026
Branch: refs/heads/users/arsenm/instcombine/simplify-demanded-fpclass-allow-fold-to-qnan
Home: https://github.com/llvm/llvm-project
Commit: b33c06f4e76b328a2fc3e42c9a13f51abf113c6d
https://github.com/llvm/llvm-project/commit/b33c06f4e76b328a2fc3e42c9a13f51abf113c6d
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-exp.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-extractelement.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fadd.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fmul.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fpext.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fptrunc-round.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-fptrunc.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-frexp.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-insertelement.ll
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
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-rounding-intrinsics.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-shufflevector.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass-sqrt.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass.ll
Log Message:
-----------
InstCombine: Fold known-qnan results to a literal nan
Previously we only considered fcNan to fold to qnan for canonicalizing
results, ignoring the simpler case where we know the nan is already
quiet.
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