llvm/llvm-project
Voir sur GitHub[DAG] computeKnownFPClass - add ISD::SINT_TO_FP/UINT_TO_FP handling
Open
#189 479 ouverte le 30 mars 2026
good first issuellvm:SelectionDAG
Métriques du dépôt
- Stars
- (26 378 stars)
- Métriques de merge PR
- (Merge moyen 1j 2h) (1 000 PRs mergées en 30 j)
Description
This will need to be based off the implementation in computeKnownFPClass in ValueTracking.cpp.
Hopefully once https://github.com/llvm/llvm-project/pull/189476 lands the ISD::SINT_TO_FP/UINT_TO_FP handling can be removed from DAG.isKnownNeverNaN and the generic fallback to computeKnownFPClass can be used instead.
Must include DemandedElts handling and IR test coverage.