Build and insert a Res = G_UCMP Op0, Op1.
Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>
MachineInstrBuilder
buildUCmp(
DstOp const& Res,
SrcOp const& Op0,
SrcOp const& Op1);
a MachineInstrBuilder for the newly created instruction.
| Name | Description |
|---|---|
| Res | Destination for the three-way compare result. |
| Op0 | First compare operand. |
| Op1 | Second compare operand. |
Res must be a generic virtual register with scalar or vector type. Typically this starts as s2 or <N x s2>.Op0 and Op1 must be generic virtual registers with the same number of elements as Res. If Res is a scalar, Op0 must be a scalar.