[LLVMdev] Bug in optimization pass related to strcmp and bigendian back-ends
Anton Korobeynikov
anton at korobeynikov.info
Tue Aug 11 03:38:45 PDT 2009
Hello
> Unfortunately you need an llvm-gcc for the target you want to support. M
> I think clang can generate code for multiple targets. Maybe you should
> try that.
Usually adding new target to clang is a matter of few lines of code.
Some more things were needed if your target uses, for example, complex
calling conventions (e.g. like x86_64), but this can be easily skipped
for the first time.
You might want to see how different targets are hooked into clang
(e.g. msp430, s390x, ppc, pic16, etc)
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list