[LLVMdev] GC infrastructure checked in
Carl Friedrich Bolz
cfbolz at gmx.de
Tue Jan 8 05:12:21 PST 2008
Gordon Henriksen wrote:
>> Hm, summary:
>>
>> pypy-llvm-backend with llvm's codegen
>> < pypy-c-backend with GCC
>> < pypy-llvm-backend using llvm's C backend and then GCC
>
> I wonder what the impact of using llvm-gcc instead of GCC is in this
> final pipeline. If that actually works, you could indeed eliminate the
> shadow stack here as well, since llvm-gcc has extensions to emit gcroot
> intrinsic calls. It's currently hardwired to the shadow-stack codegen,
> but that's very fixable.
How would that help? Using llvm-gcc would still give you LLVM's code
generator which seems to be not optimal for what PyPy does (for whatever
reason).
Besides, PyPy cannot get rid of its own shadow-stack implementation as
long as LLVM is not the leading compiler on most platforms :-).
Cheers,
Carl Friedrich Bolz
More information about the llvm-dev
mailing list