[LLVMdev] Operand constrain specification

Cameron McInally cameron.mcinally at nyu.edu
Tue Jul 16 09:34:57 PDT 2013


On Tue, Jul 16, 2013 at 12:19 PM, Demikhovsky, Elena
<elena.demikhovsky at intel.com> wrote:
> Hi,
>
> How can I specify in a .td file that source and destination should not use
> the same register?

Hey Elena,

We use @earlyclobber. E.g.

let Constraints = "@earlyclobber $dst" {
...
}

-Cameron



More information about the llvm-dev mailing list