[LLVMdev] CodeGen Generic lit tests
Duncan Sands
baldrick at free.fr
Tue Dec 11 01:14:23 PST 2012
Hi Paul,
On 10/12/12 19:58, Redmond, Paul wrote:
> Hi,
>
> I added some tests to test/CodeGen/Generic/intrinsics.ll. I couldn't find a way to run make check for a particular architecture so I ran llc -march= manually for all architectures.
>
> I found that intrinsics.ll does not compile for all architectures out of the box. For example with march=sparcv9 it fails when "Running pass 'SPARC DAG->DAG Pattern Instruction Selection' on function '@test_sqrt'"
>
> What are test/CodeGen/Generic/* meant to test? It seems when I run 'make check' it only tests on the native architecture..
while it would be neat if it automagically tested each built architecture,
no-one implemented this yet. One problem is that there are so many variants,
for example x86 with or without SSE2, SSE3, AVX etc, so even if you ran them
for every architecture your test coverage wouldn't be complete.
Ciao, Duncan.
More information about the llvm-dev
mailing list