[llvm-branch-commits] [llvm] InstCombine: Fold absorbing fmul of compared 0 into select (PR #172381)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Jan 25 15:02:04 PST 2026


arsenm wrote:

> This transform changes the sign bit of nan: https://alive2.llvm.org/ce/z/KPt3qQ

This sample fails as it is without this patch. This patch also does not change the result for this example. The nan case takes uses the fabs. This only changes the non-nan path 


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


More information about the llvm-branch-commits mailing list