[LLVMdev] how to test the correct of the llvm backend

Tom Stellard tom at stellard.net
Tue Sep 2 07:20:54 PDT 2014


On Thu, Aug 28, 2014 at 11:20:15AM +0800, liuyu11 at ict.ac.cn wrote:
> Hi,everyone
>    I am a beginner for llvm , now I am writing a llvm backend,I want to know how to test the correctness of llvm backend .
> Thank you 
> 

You could try compiling programs from the llvm test-suite and see if they
work, or you could write lit tests.  See test/CodeGen/X86 for examples.

-Tom

> 
> 
> liuyu11 at ict.ac.cn

> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list