llvm/llvm-project

[DAG] computeKnownFPClass - add ISD::SINT_TO_FP/UINT_TO_FP handling

オープン

#189,479 opened on 2026/03/30

 (3 件のコメント) (0 件のリアクション) (1 人の担当者)C++ (10,782 件のフォーク)batch import
good first issuellvm:SelectionDAG

Repository metrics

Stars
 (26,378 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド