Bingfeng Mei wrote:
I found if I define a new register class that covers both GR_REGS and PR_REGS, the issue can be solved. New IRA spill the predicate register to general regsister first instead of memory. Is this right approach?Sorry, I should have read all your emails before answering. You figured out the solution by yourself. I pointed out the same solution in my previous email.#define IRA_COVER_CLASSES \ { \ GRPR_REGS, M_REGS, BXBC_REGS, LIM_REG_CLASSES \ }