CodeGen Generic lit tests


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


Hi Paul,