llvm-project
[SelectionDAG] Use `KnownBits` to determine if an operand may be NaN.
#188606
Merged

[SelectionDAG] Use `KnownBits` to determine if an operand may be NaN. #188606

zGoldthorpe merged 17 commits into llvm:main from zGoldthorpe:never-nan
zGoldthorpe
zGoldthorpe [SelectionDAG] Use `KnownBits` to determine if an operand may be NaN.
f0fb561b
zGoldthorpe zGoldthorpe requested a review from arsenm arsenm 49 days ago
zGoldthorpe zGoldthorpe requested a review from RKSimon RKSimon 49 days ago
llvmbot llvmbot added backend:AMDGPU
llvmbot llvmbot added llvm:SelectionDAG
llvmbot
RKSimon
RKSimon commented on 2026-03-25
zGoldthorpe Use `fltSemantics`
fcfd5a75
github-actions
github-actions
zGoldthorpe Remove unnecessary `default` block.
e427b07c
RKSimon
RKSimon requested changes on 2026-03-26
zGoldthorpe Added guards and removed consts.
f45aaee4
RKSimon RKSimon requested a review from RKSimon RKSimon 48 days ago
zGoldthorpe Remove unnecessary parentheses.
9992ad82
ro-i
ro-i commented on 2026-03-26
zGoldthorpe Corrected `NegativeZero` logic error.
6e602684
arsenm
arsenm commented on 2026-03-27
zGoldthorpe Merge branch 'main' into never-nan
aac73bef
zGoldthorpe Moved `KnownBits` usage into `ISD::BITCAST`
cafb465f
zGoldthorpe Use `KnownFPClass::bitcast`
22da0a57
arsenm
arsenm commented on 2026-03-30
RKSimon
RKSimon commented on 2026-03-30
zGoldthorpe Added scalar and vector tests.
f3972f71
zGoldthorpe Merge branch 'main' into never-nan
436e219d
zGoldthorpe Move logic into `computeKnownFPClass`
4a036c7e
arsenm
arsenm commented on 2026-03-31
RKSimon
RKSimon commented on 2026-03-31
zGoldthorpe Remove unnecessary recomputation of `VT`
04d23162
zGoldthorpe Restrict to elementwise bitcasts
9df080c8
zGoldthorpe Create `KnownFPClass` test coverage for bitcasts.
71e2fc0e
zGoldthorpe Merge branch 'main' into never-nan
581d3f74
zGoldthorpe Remove unnecessary FP check.
06fceac4
RKSimon
RKSimon approved these changes on 2026-04-02
zGoldthorpe zGoldthorpe merged 9a354fc5 into main 42 days ago
zGoldthorpe zGoldthorpe deleted the never-nan branch 42 days ago
llvm-ci

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone