[LLVMdev] Strong vs. default phi elimination and single-reg classes

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Jun 8 11:19:31 PDT 2012


On Jun 8, 2012, at 11:11 AM, Hal Finkel <hfinkel at anl.gov> wrote:

>>> I'm guessing that I can rewrite TCRETURN to reference CTR/CTR8
>>> directly. I'll have to try that.
>> 
>> That should be possible, yes.
> 
> As it turns out, I don't need to (the patterns in question are never
> actually used in the current backend).

Neat.

> Furthermore, your suggestion to mark the register classes as
> non-allocatable seems to have worked. Doing that and fully enabling this
> now yields no (new) test-suite failures! :)

Great! You can probably go ahead and delete the CTRRC* register classes, if they are unused. That has the same effect as setting 'isAllocatable = 0'.

/jakob




More information about the llvm-dev mailing list