[LLVMdev] getMinimalPhysRegClass
Reed Kotler
rkotler at mips.com
Thu Jan 26 15:19:43 PST 2012
Does anyone understand the purpose of this target inpdendent function?
By adding a new register class that is for MIPS16 but not even
referencing it, the compiler breaks because of this code.
def CPU16Regs : RegisterClass<"Mips", [i32], 32, (add
// Return Values and Arguments
V0, V1, A0, A1, A2, A3,
// Callee save
S0, S1
)>;
I'm trying to understand how the Arm compiler avoids this problem.
But still, what is the logic here?
Tia.
Reed
More information about the llvm-dev
mailing list