similar to: [LLVMdev] if you can give me an example?

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] if you can give me an example?"

2012 Aug 28
1
[LLVMdev] How to write a regression test case?
thank yang,thank Wei-Ren! i feel i am a question boy,because i has another question now. i want to check if a program output right result,which example in llvm/test/* can give me some idea? suppose i have a helloworld program if it run well,it can give me a result "helloworld",so i want to check if the result is "helloworld". best wishes! changcheng On Tue, Aug 28, 2012
2012 Aug 27
4
[LLVMdev] where can I find out the documents of how to write a llvm regression test case?
hi,chen: thaks for your explaining,after reading it i have a few problems more. 1.in the sentenses of "X32: subl $-128, %eax" and "; X64: subl $-128," ,i do not know what means that in detail,these sentences were writen follow which language rules? 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
2012 Aug 27
0
[LLVMdev] where can I find out the documents of how to write a llvm regression test case?
Hi Changcheng, Below is an example took from test/CodeGen/X86/add.ll: define i32 @test1(i32 inreg %a) nounwind { %b = add i32 %a, 128 ret i32 %b ; X32: subl $-128, %eax ; X64: subl $-128, } 1. The first step, you write a function by using LLVM IR. define i32 @test1(i32 inreg %a) nounwind { %b = add i32 %a, 128 ret i32 %b } This will be left to LLVM toolchain to generate
2012 Aug 31
0
[LLVMdev] How to write a regression test case?
Hi Changcheng, The question you ask seems to be a different topic from this thread. If possible, I sugguest you lauch another thread so that people know what you want to ask by looking at subject. Since you're working on C backend, you may want to collaborate with Roel, who is working on C backend, too [1]. Regards, chenwj [1]
2011 Nov 23
0
[LLVMdev] Follow-up questions after successful upgrade to LLVM 3.0rc4
> 2) I had no problem running the V3.0 regression tests according to the instructions. However, the instructions in the Testing Infrastructure Guide for running the Test Suite presume the existence and use of llvm-gcc, http://llvm.org/docs/TestingGuide.html, both on-line and in the rc4 kits. Now that llvm-gcc is gone for V3.0, it isn't completely obvious how to run the test-suite
2012 Aug 31
2
[LLVMdev] How to write a regression test case?
Hi,all: i have a question about llvm162227,recently i have a work about cBackend,i found a the Module data is different from llvm2.9,a pass named CBackendNameAllUsedStructsAndMergeFunctions() was removed.for this the module data can not be translated correctly. when i try to rewrite this pass,i found much interfaces of module have been changed. i write a test which contian a struct like this
2012 Aug 28
4
[LLVMdev] How to write a regression test case?
aha,i add cBackend into llvm version 162227,my test run passed. it so hapyy! thanks for all of you! still a question: what does "; PR1028" means? best wishes, changcheng On Tue, Aug 28, 2012 at 2:35 PM, Changcheng Wang <changcheng at multicorewareinc.com> wrote: > hi,yang: > > thanks,i replaced "{helloworld}" with "helloworld" as you said,and the
2012 Nov 19
1
[LLVMdev] My documentation work
Mr. Chen, The link is out of date, please go to http://ccckmit.wikidot.com/ and select LLVM row in the table. My first version book is put on my brother's web site. Now, I create my Dropbox link. Best regards Jonathan --- 12/11/19 (一),陳韋任 (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw> 寫道: 寄件者: 陳韋任 (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw> 主旨: Re: [LLVMdev] My documentation
2012 Aug 27
0
[LLVMdev] where can I find out the documents of how to write a llvm regression test case?
> 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
2012 Aug 28
0
[LLVMdev] How to write a regression test case?
> still a question: > what does "; PR1028" means? I believe it means this test case addresses bug report (pr, problem report) 1028 [1]. In other words, this test case guarantee that pr1028 will not back again. If so, it will fail. Regards, chenwj [1] http://llvm.org/bugs/show_bug.cgi?id=1028 -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science,
2012 May 08
2
[LLVMdev] RE : svn trunk comilation error
Hi, Sorry I did not precise that, but I'm already doing that... I have, as you say, two different director, one for source and one for build (where I run my configure)... Cheers ________________________________________ De : 陳韋任 [chenwj at iis.sinica.edu.tw] Date d'envoi : mardi 8 mai 2012 05:21 À : Rinaldini Julien Cc: LLVM Developers Mailing List Objet : Re: [LLVMdev] svn trunk
2012 Oct 27
2
[LLVMdev] TargetELFWriterInfo used for anything?
On Fri, Oct 26, 2012 at 6:01 PM, 陳韋任 (Wei-Ren Chen) < chenwj at iis.sinica.edu.tw> wrote: > Hi Jan, > > Why do you think TargetELFWriterInfo is not used (IIUC)? > I see a lot of targets inherit class TargetELFWriterInfo > for their ELF writer. > > Yes, a lot of targets inherit it, but it looks like nothing ever calls getELFWriterInfo() (anymore) to get access to the
2013 Jan 11
0
[LLVMdev] Update PTX section in CodeGenerator.html
Hi Justin, Is there any progress on new CUDA by llvm PTX? Cheers, Dan On 11 January 2013 07:57, 陳韋任 (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw>wrote: > Hi Justin, > > I believe the PTX section in the link below need some love, > updating "lib/Target/PTX" to "lib/Target/NVPTX" for example. > Would you like to take a look? > >
2013 Jan 11
0
[LLVMdev] Obsolete PTX is NOT completely removed in 3.2 release
Removed from trunk. Pawel can decide if its necessary to update the tarballs. Thanks for the report! Apparently git-svn does not delete removed directories. On Fri, Jan 11, 2013 at 1:36 AM, 陳韋任 (Wei-Ren Chen) < chenwj at iis.sinica.edu.tw> wrote: > Hi Pawel, > > PTX already be replaced with NVPTX. However, PTX subdirectory > still sit in lib/Target in 3.2 release. Do you
2013 Jan 11
0
[LLVMdev] Update PTX section in CodeGenerator.html
Right, I forgot to update that originally. I also have a separate document in the works that goes into more detail for NVPTX. On Fri, Jan 11, 2013 at 2:57 AM, 陳韋任 (Wei-Ren Chen) < chenwj at iis.sinica.edu.tw> wrote: > Hi Justin, > > I believe the PTX section in the link below need some love, > updating "lib/Target/PTX" to "lib/Target/NVPTX" for example.
2013 Feb 06
0
[LLVMdev] How to write up XXInstFormat.td?
I suggest u grep how this file is used. Since it is included in xxInstrInfo.td and this is its only use, we can conclude that this file does nothng more than defining some helper tablegen classes and we thus can totally move these definitions into xxInstrInfo.td and then remove XXInstFormat.td Regards. 在 2013-2-6 下午4:52,"陳韋任 (Wei-Ren Chen)" <chenwj at iis.sinica.edu.tw>写道: >
2012 Aug 27
2
[LLVMdev] where can I find out the documents of how to write a llvm regression test case?
Hi, thanks for your letter,but i have read it several times,and now i am confused still.because i do not know how the test work. for a simple sample: ; RUN: llvm-as < %s | llvm-dis | FileCheck %s @addr = external global i64 define i64 @add_unsigned(i64 %x, i64 %y) { ; CHECK: %z = add nuw i64 %x, %y %z = add nuw i64 %x, %y ret i64 %z } 1.FileCheck verify the file that llvm-dis output and
2012 Dec 22
2
[LLVMdev] "Write An LLVM Backend Tutorial For Cpu0"
> Do you think it's O.K. to put the link somewhere else on the web site? I have been considering adding a page of assorted links to external documentation. I'm not sure if anybody else wants such a page though. -- Sean Silva On Fri, Dec 21, 2012 at 12:25 AM, 陳韋任 (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw> wrote: > Hi Chris, > > On Thu, Dec 20, 2012 at 10:24:39PM
2013 Jan 11
1
[LLVMdev] Obsolete PTX is NOT completely removed in 3.2 release
On 1/11/2013 7:15 AM, Justin Holewinski wrote: > Removed from trunk. Pawel can decide if its necessary to update the > tarballs. > > Thanks for the report! Apparently git-svn does not delete removed > directories. PTX directories still exists in release_32 branch and RELEASE_32/final. But they are all empty so PTX can not be build. > > > On Fri, Jan 11, 2013 at 1:36
2012 Sep 13
3
[LLVMdev] Fail to compile LLVM on Gentoo Linux
On Sep 12, 2012, at 8:50 PM, Sean Silva <silvas at purdue.edu> wrote: >> /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/lib/Frontend/InitHeaderSearch.cpp:197:1: internal compiler error: in extract_insn, at recog.c:2103 > > I think that this is a GCC ICE. Yes, very definitely. Jim > > --Sean Silva > > On Wed, Sep 12, 2012 at 10:53 PM, 陳韋任 (Wei-Ren Chen) >