Displaying 1 result from an estimated 1 matches for "buildinstructionoperandreference".
2013 Apr 23
4
[LLVMdev] [PATCH] Handle tied sub-operands in AsmMatcherEmitter
...underlying cause of the problem is the way tied operands are handled:
> If operand I is tied to J (where I < J), then the actual operand is emitted
> when at location I, and when at location J a copy of what is already at
> location I is emitted. To ensure this can always be done,
> buildInstructionOperandReference "canonicalizes" the assembler string such
> that the "destination" operand (with smaller number) is always visited
> first:
>
> // If the named operand is tied, canonicalize it to the untied operand.
> // For example, something like:
> // (outs GPR:$dst),...