[llvm-commits] [patch] Replace ARM's getCalleeSavedRegClasses with a simpler solution.
Jakob Stoklund Olesen
stoklund at 2pi.dk
Wed Jun 2 10:02:22 PDT 2010
On Jun 2, 2010, at 8:40 AM, Rafael Espindola wrote:
> The attached patch replaces ARM's getCalleeSavedRegClasses with a
> simpler solution. This is valid since all registers in tGPR are also
> in GPR.
>
> is it OK?
Looks good to me.
That loop in ARMBaseRegisterInfo::processFunctionBeforeCalleeSavedScan really wants an early exit:
+ if (!ARM::GPRRegisterClass->contains(Reg))
+ continue;
More information about the llvm-commits
mailing list