[llvm] r178170 - Fix typo (common to both X86 and PPC)

Jakob Stoklund Olesen stoklund at 2pi.dk
Wed Mar 27 13:48:38 PDT 2013


On Mar 27, 2013, at 1:37 PM, Hal Finkel <hfinkel at anl.gov> wrote:

>> As all registers are added in regmask, if function at that point
>> (EH_SjLj_Setup) uses base pointer register, it will be spilled and
>> restored from the restoreMBB. Your PPC implementation needs similar
>> thing to mask all registers clobbered at that point.
> 
> So it will spill even reserved registers? (I've been unclear myself on this part of the RA implementation).

RA never touches reserved registers. They are the responsibility of the target code.

/jakob




More information about the llvm-commits mailing list