[LLVMdev] CodeGen Generic lit tests

Redmond, Paul paul.redmond at intel.com
Mon Dec 10 10:58:54 PST 2012


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..

paul																																							



More information about the llvm-dev mailing list