[llvm] [InstCombine] Transform (fcmp + fadd + sel) into (fcmp + sel + fadd) (PR #106492)

Rajat Bajpai via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 14 20:39:19 PDT 2025


rajatbajpai wrote:

@VedantParanjape I think we should do `fcmp` + `sel` => `fmaxnum/fminnum` transformation in InstructionSimplify. This PR also deals with `fadd`, so it might not be the right place for that simpler transformation.



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


More information about the llvm-commits mailing list