On Tue, Jul 2, 2013 at 11:35 AM, Robert Lytton <[email protected]> wrote:

>  Hi,
>
> The XCore target in LLVM is currently only supported by the llvm-gcc front
> end.
>
> I have patched  lib/Basic/Targets.cpp & lib/CodeGen/TargetInfo.cpp to add
> support to clang.
> I have not yet written any tests within the clang code base (running an
> external llvm-gcc suite instead).
> What tests should be provided? Should I use the test/CodeGen/<target>...
> example as a guide?
>
>
The important things you want to test (and compare to gcc) are that the
preprocessor defines are correct and that the call/va_arg code generates
the expected IR.  So you probably want to update test/Preprocessor/init.c
and test/Preprocessor/stdint.c,  and add a test for call/va_arg to
test/CodeGen/ .

-Eli
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to