llvm/llvm-project

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

Open

#171,877 opened on 2025年12月11日

GitHub で見る
 (3 comments) (0 reactions) (1 assignee)C++ (10,782 forks)batch import
code-cleanupconstant-foldingfloating-pointgood first issue

Repository metrics

Stars
 (26,378 stars)
PR merge metrics
 (平均マージ 1d 2h) (30d で 1,000 merged PRs)

説明

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.

コントリビューターガイド