[LLVMdev] Dynamic number of registers

Jakob Stoklund Olesen
Sun, 19 Aug 2012 15:58:52 -0000

On Aug 18, 2012, at 8:51 PM, Sean Silva <silvas at purdue.edu> wrote:

> Hi, I'm pondering using LLVM's backend pipeline to generate code
for a
> virtual machine (the DTrace DIF emulator) where the number of
> registers must in general be queried dynamically*. Is this a
> functionality that LLVM's backend pipeline currently supports? Does
> LLVM's current backend pipeline assume a statically known register
> set?

It does, but you can dynamically reserve registers.

/jakob