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

陳韋任 (Wei-Ren Chen) chenwj at iis.sinica.edu.tw
Mon Aug 27 02:37:06 PDT 2012


> 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