Displaying 20 results from an estimated 21 matches for "thanslate".
2012 Aug 21
0
[LLVMdev] How to write a regression test case?
...ill do it follow you.
> still another question puzzled me:i write a hello.c file like this:
>
> //RUN: llc -march=c < %s | FileCheck %s
> #include"stdio.h"
>
> int main() {
> printf ("Helloworld.\n");
> return 0;
> }
>
> in fact, i want to thanslate it to a hello.ll file like this:
> ;RUN: llc -march=c < %s | FileCheck %s
> .......
> ;CHECK.....
>
> but,when i thanslate the hello.c with clang,the sentence "//RUN: llc
> -march=c < %s | FileCheck %s" was treated as comment.
>
> it samed the method translat...
2012 Aug 22
2
[LLVMdev] How to write a regression test case?
...question puzzled me:i write a hello.c file like this:
>>
>> //RUN: llc -march=c < %s | FileCheck %s
>> #include"stdio.h"
>>
>> int main() {
>> printf ("Helloworld.\n");
>> return 0;
>> }
>>
>> in fact, i want to thanslate it to a hello.ll file like this:
>> ;RUN: llc -march=c < %s | FileCheck %s
>> .......
>> ;CHECK.....
>>
>> but,when i thanslate the hello.c with clang,the sentence "//RUN: llc
>> -march=c < %s | FileCheck %s" was treated as comment.
>>
>&...
2012 Aug 20
4
[LLVMdev] How to write a regression test case?
hi,all:
i really want to how to write a regression test case,but i do not find
out a entire document about it.
By reading LLVM Testing Infrastructure Guide and FileCheck - Flexible
pattern matching file verifier, i only have a idea,but it is not
enough for me to write a test case.i need more detail about how to
write a RUN:lines.
thanks for you scan,wish your letter.
best wishes,
changcheng
2012 Aug 21
1
[LLVMdev] How to write a regression test case?
...question puzzled me:i write a hello.c file like this:
>>
>> //RUN: llc -march=c < %s | FileCheck %s
>> #include"stdio.h"
>>
>> int main() {
>> printf ("Helloworld.\n");
>> return 0;
>> }
>>
>> in fact, i want to thanslate it to a hello.ll file like this:
>> ;RUN: llc -march=c < %s | FileCheck %s
>> .......
>> ;CHECK.....
>>
>> but,when i thanslate the hello.c with clang,the sentence "//RUN: llc
>> -march=c < %s | FileCheck %s" was treated as comment.
>>
>&...
2012 Aug 22
7
[LLVMdev] How to write a regression test case?
...>> //RUN: llc -march=c < %s | FileCheck %s
>>>> #include"stdio.h"
>>>>
>>>> int main() {
>>>> printf ("Helloworld.\n");
>>>> return 0;
>>>> }
>>>>
>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>> .......
>>>> ;CHECK.....
>>>>
>>>> but,when i thanslate the hello.c with clang,the sentence "//RUN: llc
>>>> -march=c < %s | FileCheck...
2012 Aug 22
0
[LLVMdev] How to write a regression test case?
...ile like this:
>>>
>>> //RUN: llc -march=c < %s | FileCheck %s
>>> #include"stdio.h"
>>>
>>> int main() {
>>> printf ("Helloworld.\n");
>>> return 0;
>>> }
>>>
>>> in fact, i want to thanslate it to a hello.ll file like this:
>>> ;RUN: llc -march=c < %s | FileCheck %s
>>> .......
>>> ;CHECK.....
>>>
>>> but,when i thanslate the hello.c with clang,the sentence "//RUN: llc
>>> -march=c < %s | FileCheck %s" was treated as...
2012 Aug 27
0
[LLVMdev] How to write a regression test case?
...;>>>>
>>>>>>>> int main() {
>>>>>>>> printf ("Helloworld.\n");
>>>>>>>> return 0;
>>>>>>>> }
>>>>>>>>
>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>> .......
>>>>>>>> ;CHECK.....
>>>>>>>>
>>>>>>>> but,when i thanslate the hello.c with c...
2012 Aug 22
0
[LLVMdev] How to write a regression test case?
...; %s | FileCheck %s
>>>>> #include"stdio.h"
>>>>>
>>>>> int main() {
>>>>> printf ("Helloworld.\n");
>>>>> return 0;
>>>>> }
>>>>>
>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>> .......
>>>>> ;CHECK.....
>>>>>
>>>>> but,when i thanslate the hello.c with clang,the sentence "//RUN: llc
>>>>> -mar...
2012 Aug 28
3
[LLVMdev] How to write a regression test case?
...t;>>>>>>> int main() {
>>>>>>>>> printf ("Helloworld.\n");
>>>>>>>>> return 0;
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>>> .......
>>>>>>>>> ;CHECK.....
>>>>>>>>>
>>>>>>>>> but,when i thanslat...
2012 Aug 28
0
[LLVMdev] How to write a regression test case?
...t;>> int main() {
>>>>>>>>>> printf ("Helloworld.\n");
>>>>>>>>>> return 0;
>>>>>>>>>> }
>>>>>>>>>>
>>>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>>>> .......
>>>>>>>>>> ;CHECK.....
>>>>>>>>>>
>>>>>>>>>>...
2012 Aug 28
2
[LLVMdev] How to write a regression test case?
...) {
>>>>>>>>>>> printf ("Helloworld.\n");
>>>>>>>>>>> return 0;
>>>>>>>>>>> }
>>>>>>>>>>>
>>>>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>>>>> .......
>>>>>>>>>>> ;CHECK.....
>>>>>>>>>>>
>>>>>>...
2012 Aug 29
2
[LLVMdev] How to write a regression test case?
...>>>> printf ("Helloworld.\n");
>>>>>>>>>>>>> return 0;
>>>>>>>>>>>>> }
>>>>>>>>>>>>>
>>>>>>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>>>>>>> .......
>>>>>>>>>>>>> ;CHECK.....
>>>>>>>>>>>&...
2012 Aug 28
3
[LLVMdev] How to write a regression test case?
...>>>> printf ("Helloworld.\n");
>>>>>>>>>>>>> return 0;
>>>>>>>>>>>>> }
>>>>>>>>>>>>>
>>>>>>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>>>>>>> .......
>>>>>>>>>>>>> ;CHECK.....
>>>>>>>>>>>&...
2012 Aug 29
0
[LLVMdev] How to write a regression test case?
...>>>>>>>> printf ("Helloworld.\n");
>>>>>>>>>>>> return 0;
>>>>>>>>>>>> }
>>>>>>>>>>>>
>>>>>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>>>>>> .......
>>>>>>>>>>>> ;CHECK.....
>>>>>>>>>>>>
>>...
2012 Aug 29
3
[LLVMdev] How to write a regression test case?
...;Helloworld.\n");
>>>>>>>>>>>>>>> return 0;
>>>>>>>>>>>>>>> }
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>>>>>>>>> .......
>>>>>>>>>>>>>>> ;CHECK.....
>>>>>&...
2012 Aug 28
0
[LLVMdev] How to write a regression test case?
...printf ("Helloworld.\n");
>>>>>>>>>>>>>> return 0;
>>>>>>>>>>>>>> }
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>>>>>>>> .......
>>>>>>>>>>>>>> ;CHECK.....
>>>>>>>>&...
2012 Aug 28
0
[LLVMdev] How to write a regression test case?
...>>>>>>>> printf ("Helloworld.\n");
>>>>>>>>>>>> return 0;
>>>>>>>>>>>> }
>>>>>>>>>>>>
>>>>>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>>>>>> .......
>>>>>>>>>>>> ;CHECK.....
>>>>>>>>>>>>
>>...
2012 Aug 29
0
[LLVMdev] How to write a regression test case?
...printf ("Helloworld.\n");
>>>>>>>>>>>>>> return 0;
>>>>>>>>>>>>>> }
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>>>>>>>> .......
>>>>>>>>>>>>>> ;CHECK.....
>>>>>>>>&...
2012 Aug 29
0
[LLVMdev] How to write a regression test case?
...uot;);
>>>>>>>>>>>>>>>> return 0;
>>>>>>>>>>>>>>>> }
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>>>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>>>>>>>>>> .......
>>>>>>>>>>>>>>>> ;CHECK.....
>>&...
2012 Aug 28
4
[LLVMdev] How to write a regression test case?
...;Helloworld.\n");
>>>>>>>>>>>>>>> return 0;
>>>>>>>>>>>>>>> }
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> in fact, i want to thanslate it to a hello.ll file like this:
>>>>>>>>>>>>>>> ;RUN: llc -march=c < %s | FileCheck %s
>>>>>>>>>>>>>>> .......
>>>>>>>>>>>>>>> ;CHECK.....
>>>>>&...