llvm/llvm-project
View on GitHub[ConstantFolding] Move `LibCallSimplifier::optimizeFdim` into ConstantFolding
Open
#171877 opened on Dec 11, 2025
code-cleanupconstant-foldingfloating-pointgood first issue
Description
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.