[LLVMdev] Pinning registers in LLVM
David Terei
davidterei at gmail.com
Mon Jun 29 07:02:34 PDT 2009
Thanks for the response.
2009/6/29 Eli Friedman <eli.friedman at gmail.com>
> The issue is that the register allocator isn't aware of
> the global register, and can allocate other values into it.
So in that case there is no way currently to pin to registers then? I
won't be working with llvm-gcc, using llvm directly, was just trying
to figure out how llvm supported this feature by studying the llvm
byte code it produces.
> Patches welcome, I guess, although off the top of my head, I'm not sure what
> the best way to go about implementing it would be.
Any idea of the difficulty this would involve (ruff guess of time it
would take?). Need to decide if it would be better to add support to
llvm for this feature or change GHC such that it isn't needed.
Cheers,
David
More information about the llvm-dev
mailing list