[llvm] SelectionDAG: Use qNaN constant if FCANONICALIZE not LegalOrCustom (PR #104564)

YunQiang Su via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 19 09:55:42 PDT 2024


wzssyqa wrote:

> Hi All, I have a patch for implementing fcanonicalize intrinsic for x86 backend, it handles fp80, bf16, f16, f32 and f64 inputs as well as denormals and other subnormals along these lines [9cd9071](https://github.com/llvm/llvm-project/commit/9cd90712f0f47f13173e0c4aaec8081d97aef81c), And I canonicalize variables with mul by 1.0. Are the goals of this PR along the same lines? If yes It may not be required for me to submit another PR. If not do let me know, I will submit my PR, Thanks in advance.

For me, I'd prefer it as a separated  patch. If it can be accepted, I will be very happy to use it.

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


More information about the llvm-commits mailing list