[LLVMdev] getMinimalPhysRegClass

reed kotler rkotler at mips.com
Mon May 14 13:02:57 PDT 2012


Does anyone understand the purpose of :

TargetRegisterInfo::getMinimalPhysRegClass ???

Why is there the presumption to use the minimal subclass?

For Mips, it would work for me if we changed this to a virtual function 
and then
I could override this to have it chose the proper register class based 
on the processor.

I want to introduct a different register class for MIPS 16 but don't 
want it to chose MIPS 16 when
I'm compiling for MIPS 32.

We don't have any subclassing we are needing in MIPS, in the true sense 
of subclassing.

Reed



More information about the llvm-dev mailing list