llvm/llvm-project

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

オープン

#171,877 opened on 2025/12/11

 (3 件のコメント) (0 件のリアクション) (1 人の担当者)C++ (10,782 件のフォーク)batch import
code-cleanupconstant-foldingfloating-pointgood first issue

Repository metrics

Stars
 (26,378 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

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