llvm/llvm-project

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

Open

#171,877 创建于 2025年12月11日

在 GitHub 查看
 (3 评论) (0 反应) (1 负责人)C++ (10,782 fork)batch import
code-cleanupconstant-foldingfloating-pointgood first issue

仓库指标

Star
 (26,378 star)
PR 合并指标
 (平均合并 1天 2小时) (30 天内合并 1,000 个 PR)

描述

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.

贡献者指南