llvm/llvm-project

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

Open

#171.877 aberto em 11 de dez. de 2025

Ver no GitHub
 (3 comments) (0 reactions) (1 assignee)C++ (10.782 forks)batch import
code-cleanupconstant-foldingfloating-pointgood first issue

Métricas do repositório

Stars
 (26.378 stars)
Métricas de merge de PR
 (Mesclagem média 1d 2h) (1.000 fundiu PRs em 30d)

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.

Guia do colaborador