[clang] [llvm] Intrinsic: introduce minimumnum and maximumnum (PR #93841)

YunQiang Su via cfe-commits cfe-commits at lists.llvm.org
Thu May 30 09:31:46 PDT 2024


wzssyqa wrote:

Since we need to reuse some logic of `minnum/maxnum` to implement `minimumnum/maximumnum`,
let's add them before switch the behavior of `minnum/maxnum`.


Known not working ports, will be fixed in future PRs:

1. X86: the current `minnum/maxnum` cannot process +0 vs -0 as `minimumnum/maximumnum` expected.
2. ARM(32): has some interaction with the behavior of `minnum/maxnum`.
3. PowerPC: has some interaction with the behavior of `minnum/maxnum`: need define `fcanonicalize`.

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


More information about the cfe-commits mailing list