[LLVMdev] RFC: what is the purpose of test/CodeGen/Generic?
arphaman at gmail.com
Mon Aug 3 12:48:33 PDT 2015
Some of the tests are used to test the command line options in llc and the
behavior of the LLVMTargetMachine class, like stop-after.ll and
run-pass.ll. I think that they are expected to work on every target and
should stay here.
2015-08-03 12:22 GMT-07:00 Mehdi Amini <mehdi.amini at apple.com>:
> Hi all,
> I wonder about this directory and the 162 tests that are in it.
> Most tests have only this run line: ; RUN: llc < %s
> And when I look at the log of some tests like:
> The comment inside is:
> ; This caused the backend to assert out with:
> ; SparcInstrInfo.cpp:103: failed assertion `0 && "Unexpected unsigned
> I doubt we are effectively testing the Sparc backend unless you run the
> validation on a Sparc.
> Since “CodeGen” can’t really be generic (you’ll need a target), I’m not
> sure what is intended to be in it. I’d like to move most of the tests in
> their associated backend directory, but I’d like to hear what is legit to
> be here?
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev