[LLVMdev] where can I find out the documents of how to write a llvm regression test case?

Changcheng Wang changcheng at multicorewareinc.com
Mon Aug 27 05:27:10 PDT 2012


i am very surprised that you have known what i want to do,you are capable!
thank you very much.

yours

changcheng


On Mon, Aug 27, 2012 at 5:37 PM, 陳韋任 (Wei-Ren Chen)
<chenwj at iis.sinica.edu.tw> wrote:
>> 2.i want to write such a test:translate a *.ll(i.e:hello.ll) file to a
>> *.c file(i.e:hello.c) with llc,then verify if the .c file contian a
>> certain string(i.e:"abc:). so:
>
>   It seems you want to test LLVM C backend, go looking for
> llvm-3.0.src/test/CodeGen/CBackend/* (C backend had been
> removed from LLVM 3.1).
>
> HTH,
> chenwj
>
> --
> Wei-Ren Chen (陳韋任)
> Computer Systems Lab, Institute of Information Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
> Homepage: http://people.cs.nctu.edu.tw/~chenwj




More information about the llvm-dev mailing list