llvm/llvm-project

[DAG] computeKnownFPClass - add ISD::MAXNUM/MINNUM handling + test coverage

Open

#189694 opened on Mar 31, 2026

View on GitHub
 (9 comments) (0 reactions) (1 assignee)C++ (26,378 stars) (10,782 forks)batch import
good first issuellvm:SelectionDAG

Description

ISD::FMAXIMUM/ISD::FMINIMUM + ISD::FMAXIMUMNUM/ISD::FMINIMUMNUM handling can be added as well

This will need to be based off the implementation in computeKnownFPClass in ValueTracking.cpp - DenormalMode access might take some additional patches / test coverage

This should be tested with IR tests and not unit tests

Contributor guide