llvm/llvm-project

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

Ouverte

#171 877 ouverte le 11 déc. 2025

 (3 commentaires) (0 réaction) (1 personne assignée)C++ (10 782 forks)batch import
code-cleanupconstant-foldingfloating-pointgood first issue

Métriques du dépôt

Stars
 (26 378 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur