[llvm] [WIP][SelectionDAG] Add support for the 3-way comparison intrinsics [US]CMP (PR #91871)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat May 11 17:58:50 PDT 2024
================
@@ -677,6 +677,11 @@ enum NodeType {
UMIN,
UMAX,
+ /// [US]CMP - 3-way comparison of signed or unsigned integers. Returns -1, 0,
+ /// or 1 depending on whether Op0 <, ==, or > Op1
----------------
nikic wrote:
I'd mention that the result and operand types can differ here.
https://github.com/llvm/llvm-project/pull/91871
More information about the llvm-commits
mailing list