[llvm] [InstCombine] Don't propagate ninf when hoisting fneg above fmul/fdiv (PR #228671)
Divyansh Yadav via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 10 04:03:04 PDT 2026
schizophrenicmaniac wrote:
@suogesi You're right, I mixed them up, thanks for clarifying. On style, which part do you mean? Here I followed foldFNegIntoConstant right above it (take the fneg's flags and AND ninf with the fmul/fdiv's). Is it the helper lambda, or would you rather set the flag on the result like the fdiv folds there do? I'm fine aligning either way.
https://github.com/llvm/llvm-project/pull/228671
More information about the llvm-commits
mailing list