Build and insert a, b, ..., x, y, z = G_UNMERGE_VALUES Op0 Res = G_BUILD_VECTOR a, b, ..., x
Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>
MachineInstrBuilder
buildDeleteTrailingVectorElements(
DstOp const& Res,
SrcOp const& Op0);
Delete trailing elements in Op0 to match number of elements in Res.
a MachineInstrBuilder for the newly created build vector instr.
| Name | Description |
|---|---|
| Res | Destination operand for the result. |
| Op0 | First source operand. |
Res and Op0 must be generic virtual registers with vector type, same vector element type and Op0 must have more elements then Res.