search for: llvmtest

Displaying 20 results from an estimated 24 matches for "llvmtest".

2006 Dec 02
3
[LLVMdev] invalid bytecode signature
I am trying to disassemble some bytecode using llvm-dis: llvm-dis -f -o llvmtest/sliceme2.cbc.ll llvmtest/sliceme2.cbc However, I am getting the following error. llvm-dis: Invalid bytecode signature: 464C457F (Vers=0, Pos=4) How do I go about figuring out what the problem is? llvmtest/sliceme2.cbc is newly compiled using the same version of llvm-gcc as llvm-dis. -- Ryan...
2014 Jun 07
3
[LLVMdev] Load/Store Instruction Error
...c1, GPRegs:$src2), "add $dst,$src1,$src2", [(set GPRegs:$dst, (add GPRegs:$src1, GPRegs:$src2))]>; Error Message: LDRAM: (set GPRegs:{i32:f32}:$dst, (ld:{i32:f32} addr:iPTR:$src)<<P:Predicate_unindexedload>><<P:Predicate_load>>) Included from /home/jwon/Desktop/llvmTest/llvm-3.4/lib/Target/XXX/XXXOther.td:10: Included from /home/jwon/Desktop/llvmTest/llvm-3.4/lib/Target/XXX/XXX.td:1: /home/jwon/Desktop/llvmTest/llvm-3.4/lib/Target/XXX/XXXInstrInfo.td:34:1: error: In LDRAM: Could not infer all types in pattern! def LDRAM : FG1<0b000001, (outs GPRegs:$dst), (ins...
2006 May 01
2
[LLVMdev] How to link the right libraries?
...<< "\n"; return false; } virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.setPreservesAll(); } }; RegisterOpt<FuncFoo> X("funcPass", "Hello World Pass"); } When I call: $> opt -load ../../../../llvm/Debug/lib/LLVMTest.so -funcPass < hello.bc > /dev/null It works fine; when I try the machineFunctionPass class, it goes like this: $> opt -load ../../../../llvm/Debug/lib/LLVMTest.so -allocpty < hello.bc > /dev/null "opt: error while loading shared libraries: ../../../../llvm/Debug/lib/LLVMTest...
2006 Dec 02
0
[LLVMdev] invalid bytecode signature
Hi Ryan, On Fri, 2006-12-01 at 18:06 -0600, Ryan M. Lefever wrote: > I am trying to disassemble some bytecode using llvm-dis: > llvm-dis -f -o llvmtest/sliceme2.cbc.ll llvmtest/sliceme2.cbc > > However, I am getting the following error. > > llvm-dis: Invalid bytecode signature: 464C457F (Vers=0, Pos=4) The problem is most likely that sliceme2.cbc is *not* bytecode. Open the file and see. This message is checking for llvm or llvc (by...
2009 Mar 28
0
[LLVMdev] LLVM test-suite
...e /docs/ > TestingGuide.html but cannot seem to get it to work. I have tried > many variations, but get no joy. The docmunetation does not appear > very clear. Some things that are not so obvious: The testsuite has to be checked out as a subdirectory of llvm/ projects; llvm/projects/llvmtest or some such. After doing that, you need to re-configure from the top level. There must be a working llvm-gcc in your path when you do this. After that, cd to projects/llvmtest; make -k should work from there. -------------- next part -------------- An HTML attachment was scrubbed... URL: <h...
2006 Dec 01
1
[LLVMdev] Disable Inlining
I ran the following command: llvm-gcc -Iinclude -Illvmtest -Wa,-disable-inlining -Wl,-disable-inlining -c -o llvmtest/sliceme2.bc llvmtest/sliceme2.c And it responded with the following: as: unrecognized option `-disable-inlining' Does -disable-inlining not work anymore? Thanks, Ryan
2009 Mar 28
1
[LLVMdev] LLVM test-suite
...I have followed the /docs/TestingGuide.html but cannot seem to get it to work. I have tried many variations, but get no joy. The docmunetation does not appear very clear. Some things that are not so obvious: The testsuite has to be checked out as a subdirectory of llvm/projects; llvm/projects/llvmtest or some such. After doing that, you need to re-configure from the top level. There must be a working llvm-gcc in your path when you do this. After that, cd to projects/llvmtest; make -k should work from there. ------------------------------------------------------------------------------...
2006 May 01
0
[LLVMdev] How to link the right libraries?
...gt; } > virtual void getAnalysisUsage(AnalysisUsage &AU) const { > AU.setPreservesAll(); > } > }; > RegisterOpt<FuncFoo> X("funcPass", "Hello World Pass"); > } > > When I call: > > $> opt -load ../../../../llvm/Debug/lib/LLVMTest.so -funcPass < hello.bc > > /dev/null > > It works fine; when I try the machineFunctionPass class, it goes like > this: > > $> opt -load ../../../../llvm/Debug/lib/LLVMTest.so -allocpty < hello.bc > > /dev/null > > "opt: error while loading shared libr...
2009 Mar 28
5
[LLVMdev] LLVM test-suite
How do I get the LLVM test-suite to work I have followed the /docs/TestingGuide.html but cannot seem to get it to work. I have tried many variations, but get no joy. The docmunetation does not appear very clear. Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090328/e15c2e57/attachment.html>
2006 Dec 01
1
[LLVMdev] crtend
Before upgrading to the latest LLVM today, I used to run the following command: llvm-gcc -fno-inline -o __tmp.homer___ llvmtest/sliceme2.bc -L/home/testbed1/lefever/work/llvm/install/lib -lcrtend However, it is given the following error. /usr/bin/ld: cannot find -lcrtend collect2: ld returned 1 exit status make: *** [llvmtest/sliceme2.cbc] Error 1 Has the crtend library been moved? Thanks, Ryan
2006 Dec 02
1
[LLVMdev] invalid bytecode signature
...hat have changed? Thanks, Ryan Ryan M. Lefever [http://www.ews.uiuc.edu/~lefever] On Fri, 1 Dec 2006, Reid Spencer wrote: > Hi Ryan, > > On Fri, 2006-12-01 at 18:06 -0600, Ryan M. Lefever wrote: >> I am trying to disassemble some bytecode using llvm-dis: >> llvm-dis -f -o llvmtest/sliceme2.cbc.ll llvmtest/sliceme2.cbc >> >> However, I am getting the following error. >> >> llvm-dis: Invalid bytecode signature: 464C457F (Vers=0, Pos=4) > > The problem is most likely that sliceme2.cbc is *not* bytecode. Open the > file and see. This message is c...
2009 Sep 16
2
[LLVMdev] llc and debug information
...-llvm test.cpp > llc -O0 test.o > g++ test.o.s > ./a.out My return address is 0x400bb2 > addr2line 0x400bb2 ??:0 Also to further implicate llc, this works: > llvm-g++ -g -O0 -S test.cpp > g++ test.s > ./a.out My return address is 0x400bf9 > addr2line 0x400bf9 /home/jalbert/llvmtest//test.cpp:13 Anymore thoughts? -Nick On Wed, Sep 16, 2009 at 2:29 PM, Devang Patel <devang.patel at gmail.com>wrote: > On Wed, Sep 16, 2009 at 1:34 PM, Nick Jalbert <jalbert at eecs.berkeley.edu> > wrote: > > Hi all, > > I'm having an issue with debug informat...
2005 Mar 09
4
[LLVMdev] Recursive Types using the llvm support library
...wSTy = StructTy.get(); >>> >> Is assert(!NewSTy->isAbstract()) must pass after this line? > > In this case, yup. > I create test program and assert failed in it: { \2 *, sbyte * } Assertion failed: (!NewSTy->isAbstract()), function main, file /usr/home/wanderer/work/LLVMTest/obj/../src/tools/tool/Test.cc, line 28. Testcase source attached. Vladimir -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.cc Type: application/octet-stream Size: 796 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2...
2009 Mar 31
1
[LLVMdev] LLVM test-suite
2009/3/28 Dale Johannesen <dalej at apple.com>: > The testsuite has to be checked out as a subdirectory of llvm/projects; > llvm/projects/llvmtest or some such. > After doing that, you need to re-configure from the top level.  There must > be a working llvm-gcc in your path when you do this. I've got a makefile that tries to build llvm and llvm-gcc from source, and then run the test suite. I've found that I have to 1. build ll...
2009 Sep 17
0
[LLVMdev] llc and debug information
...t; My return address is 0x400bb2 > > addr2line 0x400bb2 > ??:0 > > Also to further implicate llc, this works: > > > llvm-g++ -g -O0 -S test.cpp > > g++ test.s > > ./a.out > My return address is 0x400bf9 > > addr2line 0x400bf9 > /home/jalbert/llvmtest//test.cpp:13 > > Anymore thoughts? maybe try passing -disable-fp-elim to llc? Ciao, Duncan.
2005 Mar 09
0
[LLVMdev] Recursive Types using the llvm support library
On Wed, 9 Mar 2005, Vladimir Merzliakov wrote: > I create test program and assert failed in it: > > { \2 *, sbyte * } > Assertion failed: (!NewSTy->isAbstract()), function main, file > /usr/home/wanderer/work/LLVMTest/obj/../src/tools/tool/Test.cc, line 28. > > Testcase source attached. Thanks, that definitely is a bug. Patch here: http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050307/024522.html BTW, what are you using the isAbstract bit for? -Chris -- http://nondot.org/sabre/ http://l...
2008 Mar 19
6
[LLVMdev] Proposal for GSoC project for improving llvm-test testsuite
...e in the first touch. Please guide me on these. Please correct me if I am wrong in anything. Thanks in advance! Me: I am a computer science undergraduate[4]. I'm interested in compiler technology and have experience in C/C++ programming.My resume [5]. [1] - http://llvm.org/OpenProjects.html#llvmtest [2] - http://nondot.org/sabre/LLVMNotes/#benchmarks [3] - http://llvm.org/docs/TestingGuide.html#org [4] - http://www.cse.mrt.ac.lk/ [5] - http://rajikacc.googlepages.com/resume_rajika.pdf -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipe...
2009 Sep 16
0
[LLVMdev] llc and debug information
On Wed, Sep 16, 2009 at 1:34 PM, Nick Jalbert <jalbert at eecs.berkeley.edu> wrote: > Hi all, > I'm having an issue with debug information and llc.  A test program: > #include <iostream> > using namespace std; > void foo() { >     cout << "My return address is " << __builtin_return_address(0) << >         endl << flush; > }
2010 Sep 26
0
[LLVMdev] Adding nbench to the llvm test-suite
As per [1] I am going to add [2] to the llvm test-suite. I hope nobody is currently working on that area (if anybody is working please do let me know) Rajika [1] - http://llvm.org/OpenProjects.html#llvmtest [2] - http://www.tux.org/~mayer/linux/bmark.html -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100926/6b485860/attachment.html>
2005 Mar 08
0
[LLVMdev] Recursive Types using the llvm support library
On Tue, 8 Mar 2005, Vladimir Merzliakov wrote: >>> An example where something really simple like the line below was output >>> would be perfect. >>> >>> %struct.linked_list = type { %struct.linked_list*, %sbyte* } >> >> Use something like this: >> >> PATypeHolder StructTy = OpaqueType::get(); >> std::vector<const