llvm/llvm-project

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

开放

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

 (3 条评论) (0 个反应) (1 位负责人)C++ (10,782 个派生)batch import
code-cleanupconstant-foldingfloating-pointgood first issue

仓库指标

星标
 (26,378 个星标)
PR 合并指标
 (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.

贡献者指南