Skip to content

Commit bfd853a

Browse files
committed
add ISDOpcode of USTHREEWAYCMP
1 parent 267beb1 commit bfd853a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

llvm/include/llvm/CodeGen/ISDOpcodes.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,13 @@ enum NodeType {
386386
SDIVFIXSAT,
387387
UDIVFIXSAT,
388388

389+
/// RESULT = [US]THREEWAYCMP(LHS, RHS) - Perform 3 way comparison and return
390+
/// the values -1, 0, or 1 depending on whether the values compare lower,
391+
/// equal
392+
/// or greater.
393+
UTHREEWAYCMP,
394+
STHREEWAYCMP,
395+
389396
/// Simple binary floating point operators.
390397
FADD,
391398
FSUB,

0 commit comments

Comments
 (0)