Build and insert Res = G_TRUNC_USAT_U Op
Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>
MachineInstrBuilder
buildTruncUSatU(
DstOp const& Res,
SrcOp const& Op);
G_TRUNC_USAT_U truncates the unsigned input, Op, to an unsigned result with saturation.
The newly created instruction.
| Name | Description |
|---|---|
| Res | Destination operand for the result. |
| Op | Source operand. |
Res must be a generic virtual register with scalar or vector type.Op must be a generic virtual register with scalar or vector type.