This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PLUGIN] Support for registering cache tables from plugins
Out of curiosity, what kind of plugin are you writing?
It turns gimple into LLVM IR (see http://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 :)
I forgot to mention that you can get the source from svn:
svn co http://llvm.org/svn/llvm-project/gcc-plugin/trunk gcc-plugin
I made some progress: it can now compile
int f(int x, int y, int b) {
int z = b ? x : y;
return z;
}
but that's about all it can manage for the moment :)
Ciao,
Duncan.