[llvm-commits] [llvm] r148346 - in /llvm/trunk: include/llvm/Target/TargetCallingConv.td utils/TableGen/CodeGenRegisters.cpp utils/TableGen/CodeGenRegisters.h utils/TableGen/RegisterInfoEmitter.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Tue Jan 17 17:21:52 PST 2012
On Jan 17, 2012, at 4:13 PM, Joerg Sonnenberger wrote:
> On Wed, Jan 18, 2012 at 03:37:09AM +0400, Anton Korobeynikov wrote:
>>> What about runtime reservations of specific registers? Consider global
>>> register variables as use case.
>> This looks unrelated to me. Jacob just tablegen'ed various hard-coded
>> lists of callee-saved regs already existed in the backends.
>> This way he can seamlessly convert the stuff to his new "register masks" :)
Exactly.
> I disagree somewhat. The parsing code for such runtime reservations
> could be created by tablegen too, right?
I am not sure I follow. Targets can reserve registers dynamically, see for example the ARM base register.
FWIW, we don't have plans to support global register variables. See http://nondot.org/sabre/LLVMNotes/GlobalRegisterVariables.txt
/jakob
More information about the llvm-commits
mailing list