llvm/llvm-project

[ConstantFolding] Move `LibCallSimplifier::optimizeFdim` into ConstantFolding

Open

#171.877 aperta il 11 dic 2025

Vedi su GitHub
 (3 commenti) (0 reazioni) (1 assegnatario)C++ (10.782 fork)batch import
code-cleanupconstant-foldingfloating-pointgood first issue

Metriche repository

Star
 (26.378 star)
Metriche merge PR
 (Merge medio 1g 2h) (1000 PR mergiate in 30 g)

Descrizione

In https://github.com/llvm/llvm-project/pull/109235 the constant folding logic was implemented in SimplifyLibCalls.cpp. But it should be put in ConstantFoldLibCall2 since both operands are known constants.

Guida contributor