> Ok, so if I copy the locally allocated registers into N consecutive
> hard registers BEFORE the group of loads, then rerun cprp_harderg, it
> should replace the ones of the loads to the ones of the copies ? And
> then I suppose the copies will just disappear at a later pass, correct
> ?

Something like that, to be experimented though.

> I guess, my final question is, that pass will be defined with the
> TARGET_MACHINE_DEPENDENT_REORG define but how do I see if a register
> is free at that point ? Can I still use the TEST_HARD_REG_BIT macros ?

You should use the DF framework in 4.3.x and later.

-- 
Eric Botcazou

Reply via email to