search for: transexampl

Displaying 7 results from an estimated 7 matches for "transexampl".

Did you mean: transexample
2012 Aug 29
2
[LLVMdev] How to write a regression test case?
...example.c >>> >> >> Yes, you can. There is no need for extra translation. >> >>> as i want to write a test to check cBackend,i want the test : >>> 1.translate a example.c file to example.ll file with clang. >>> 2.translate the example.ll file to transExample.c file with cBackend. >>> 3.compile the transExample.c file to transExample.bc with clang. >>> 4.run the transExample.bc and check the output. >>> >>> can i write the RUN: line into example.c file just like you did? >> >> I guess so. Just pay attenti...
2012 Aug 29
0
[LLVMdev] How to write a regression test case?
...maybe like this: llvm-lit ./example.c >> > > Yes, you can. There is no need for extra translation. > >> as i want to write a test to check cBackend,i want the test : >> 1.translate a example.c file to example.ll file with clang. >> 2.translate the example.ll file to transExample.c file with cBackend. >> 3.compile the transExample.c file to transExample.bc with clang. >> 4.run the transExample.bc and check the output. >> >> can i write the RUN: line into example.c file just like you did? > > I guess so. Just pay attention to file IO and stdio....
2012 Aug 29
3
[LLVMdev] How to write a regression test case?
...>> Yes, you can. There is no need for extra translation. >>>> >>>>> as i want to write a test to check cBackend,i want the test : >>>>> 1.translate a example.c file to example.ll file with clang. >>>>> 2.translate the example.ll file to transExample.c file with cBackend. >>>>> 3.compile the transExample.c file to transExample.bc with clang. >>>>> 4.run the transExample.bc and check the output. >>>>> >>>>> can i write the RUN: line into example.c file just like you did? >>>&g...
2012 Aug 29
0
[LLVMdev] How to write a regression test case?
...gt;>> >>> Yes, you can. There is no need for extra translation. >>> >>>> as i want to write a test to check cBackend,i want the test : >>>> 1.translate a example.c file to example.ll file with clang. >>>> 2.translate the example.ll file to transExample.c file with cBackend. >>>> 3.compile the transExample.c file to transExample.bc with clang. >>>> 4.run the transExample.bc and check the output. >>>> >>>> can i write the RUN: line into example.c file just like you did? >>> >>> I gu...
2012 Aug 29
0
[LLVMdev] How to write a regression test case?
...u can. There is no need for extra translation. >>>>> >>>>>> as i want to write a test to check cBackend,i want the test : >>>>>> 1.translate a example.c file to example.ll file with clang. >>>>>> 2.translate the example.ll file to transExample.c file with cBackend. >>>>>> 3.compile the transExample.c file to transExample.bc with clang. >>>>>> 4.run the transExample.bc and check the output. >>>>>> >>>>>> can i write the RUN: line into example.c file just like you did...
2012 Aug 31
2
[LLVMdev] How to write a regression test case?
...no need for extra translation. >>>>>> >>>>>>> as i want to write a test to check cBackend,i want the test : >>>>>>> 1.translate a example.c file to example.ll file with clang. >>>>>>> 2.translate the example.ll file to transExample.c file with cBackend. >>>>>>> 3.compile the transExample.c file to transExample.bc with clang. >>>>>>> 4.run the transExample.bc and check the output. >>>>>>> >>>>>>> can i write the RUN: line into example.c file j...
2012 Aug 22
7
[LLVMdev] How to write a regression test case?
the example is more like what i need,it is so nice. but,i am indefinite if "RUN: FileCheck < %t.s %s" can pass,i understand that t.s was translate from t.ll,%s means read the local source,are they the same? On Wed, Aug 22, 2012 at 1:55 PM, Triple Yang <triple.yang at gmail.com> wrote: > I did an experiment just now with a test case like: > // RUN: clang %s -S -emit-llvm