This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PLUGIN] Support for registering cache tables from plugins


2009/9/5 Uros Bizjak <ubizjak@gmail.com>:
> Hello!
>
>> ? ?Out of curiosity, what kind of plugin are you writing?
>> It turns gimple into LLVM IR (seehttp://llvm.org/docs/LangRef.html)
>> and runs the LLVM optimizers and codegen rather than those of gcc.
>> It is llvm-gcc rewritten as a plugin. ?Currently it can codegen the
>> empty function :)
>
> Heh, what about the twisted idea to turn gimple into LLVM IR, run LLVM
> optimizers, turn optimized LLVM IR back into gimple and continue with gcc
> optimizers and codegen?
>
> This would be some kind of uber-optimized compiler, no? ;)

Or a clang frontend for GCC.  Something even more useful.  No idea if the
plugin hooks are already enough to support a frontend plugin.

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]