[llvm-commits] [patch] Intruction Constraint DestReg!=SrcReg (for review)

Lauro Ramos Venancio lauro.venancio at gmail.com
Fri Jan 26 13:07:20 PST 2007


> The facility does that have to be that general. There are 4 cycles
> between every two instructions.  See LiveIntervalAnalysis:
>
>      struct InstrSlots {
>        enum {
>          LOAD  = 0,
>          USE   = 1,
>          DEF   = 2,
>          STORE = 3,
>          NUM   = 4
>        };
>      };
>
> We can restrict the constraint range to 1 - 3. This ensures the last
> use is always the kill while retaining its flexibility.
>
> Evan

I will try to implement this. Do you have any suggestion for
constraint name and syntax?

Lauro



More information about the llvm-commits mailing list