[llvm-dev] Question about BuildMI()

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed Feb 20 17:53:45 PST 2019


On Wed, 20 Feb 2019 at 15:36, Josh Sharp via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Which Ops element corresponds to which operand?
>
> Is it Ops[0] -> rd, Ops[1] -> rb, Ops[2] -> ra ?

That's right. It's left to right, starting with (outs), then (ins).
After that are any implicit operands not declared in the instruction.

Cheers.


Tim.


More information about the llvm-dev mailing list