[llvm] SelectionDAG: Use qNaN constant if FCANONICALIZE not LegalOrCustom (PR #104564)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 09:44:12 PDT 2024
arsenm wrote:
> @arsenm How does AMDGPU backend prevent mul * 1.0 from being optimized away?
It doesn't. This is why the canonicalize intrinsic exists.
https://github.com/llvm/llvm-project/pull/104564
More information about the llvm-commits
mailing list