[llvm] [SDAG] Share signed zero handling for maximum and maximumnum (PR #142762)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 4 03:17:23 PDT 2025


nikic wrote:

This is either an alternative or a companion to https://github.com/llvm/llvm-project/pull/140193. I believe we should have the same legalization approach for both opcodes in any case. Whether a legalization via FP_ROUND is better is a bit hard to tell with the size of the diffs due to unrelated changes. I think we can unify the code first and then check whether switching to FP_ROUND improves things.

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


More information about the llvm-commits mailing list