search for: articifical

Displaying 3 results from an estimated 3 matches for "articifical".

2004 Jun 09
1
[LLVMdev] Testing backend
...s there is a RUN: line which instructs the test > harness how to run the test. The QMTest tests are generally small LLVM code snippets that we manipulate and then examine for correctness. You can add your own tests to llvm/test/Regression/CodeGen/<platform> if you want to write small, articifical test cases where you know what to check for. For example, see llvm/test/Regression/CodeGen/X86/2004-02-12-Memcpy.llx. QMTest tests are not full programs, so the code is never executed and tested for correctness. If you want simple C programs to compile and test with your code generator, I'...
2004 Jun 09
0
[LLVMdev] Testing backend
Vladimir, The makefile for the feature tests is in the directory above. Simply: cd ~/llvm/test make Feature.t This works for the regression tests to: make Regression.t The tests are run QMTest which just "knows" what to do with the test file. In many cases there is a RUN: line which instructs the test harness how to run the test. On Wed, 2004-06-09 at 05:18, Vladimir Prus wrote:
2004 Jun 09
3
[LLVMdev] Testing backend
I've finally managed to bring my backend to a minimally working form. I can compile three small examples with arithmetic operations, branches and phi operations. However, there surely is a lot of omissions and bugs. How do I test a backend. For obvious reasons, I'd prefer a number of really small tests, to make debugging easier. I see some number of such small tests in