[llvm] [InstCombine] Fold `fcmp (fmul X, C1), C2` to `fcmp X, C2/C1` (PR #205003)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 21:09:16 PDT 2026


================

----------------
VachanVY wrote:

Is there a restricted class of constants for which this transform is known to be correct OR is the fold incorrect for floats and should the patch be abandoned?

https://github.com/llvm/llvm-project/pull/205003


More information about the llvm-commits mailing list