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.

貢獻者指南