llvm/llvm-project

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

Open

#171 877 ouverte le 11 déc. 2025

Voir sur GitHub
 (3 commentaires) (0 réactions) (1 assigné)C++ (10 782 forks)batch import
code-cleanupconstant-foldingfloating-pointgood first issue

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

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