Displaying 20 results from an estimated 500000 matches similar to: "[LLVMdev] Test"
2007 Aug 10
0
[LLVMdev] c const
On Thu, 9 Aug 2007, Daniel Berlin wrote:
> This certainly doesn't occur in gcc mainline.
> In fact, I improved the error message, and added a error test to gcc
> just yesterday.
Yep, clang reports:
t.c:4:12: error: read-only variable is not assignable
arr[0] = 1;
~~~~~~ ^
1 diagnostic generated.
so this is specific to llvm-gcc somehow.
-Chris
> On 8/9/07, Chris
2007 Aug 10
2
[LLVMdev] c const
This certainly doesn't occur in gcc mainline.
In fact, I improved the error message, and added a error test to gcc
just yesterday.
On 8/9/07, Chris Lattner <sabre at nondot.org> wrote:
> On Wed, 8 Aug 2007, Nikhil A. Patil wrote:
> > I think I found a bug. I don't know if it's in upstream gcc or llvm-gcc4.
>
> Looks like a bug, please file a bugzilla entry.
>
2005 Mar 12
1
[LLVMdev] GCC 3.4.1 and conflicting types for 'malloc' (2)
I commented this line and it is compiling now:
extern void *malloc ARGS((unsigned));
I hope that will not cause a different kind of problem. What it is zalloc used for?
Thanks
--- Chris Lattner <sabre at nondot.org> wrote:
> On Sat, 12 Mar 2005, xavier wrote:
>
> > It seems that this happened before but I do not know the details:
> >
2006 Jun 15
0
[LLVMdev] problem with loopinfo
On Thu, 15 Jun 2006, Wei Jiang wrote:
> I did run the indvars pass, but it seemed that it didn't work.
Then you'll have to trace through and find out why it's failing...
-Chris
> ----- Original Message ----- From: "Chris Lattner" <sabre at nondot.org>
> To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
> Sent: Thursday, June 15,
2006 Apr 18
3
[LLVMdev] 1.7 Pre-Release Ready for Testing
I'll test on Darwin/PPC, precompiled llvmgcc, objdir == srcdir.
Rob
On Apr 16, 2006, at 1:42 PM, Chris Lattner wrote:
> On Sun, 16 Apr 2006, Tanya Lattner wrote:
>> For testing, we would like a mix of people to do x86 and ppc.
>> Please send email to the list if you plan to test, what
>> architecture, and if you will use the llvm-gcc binary or compile
>> it
2006 Apr 19
0
[LLVMdev] 1.7 Pre-Release Ready for Testing
I haven't seen anyone claim x86 linux objdir == srcdir, so I'll test
it out. Missed the 18th,but I'll try to have it done asap.
On Apr 18, 2006, at 2:51 PM, Robert L. Bocchino Jr. wrote:
> I'll test on Darwin/PPC, precompiled llvmgcc, objdir == srcdir.
>
> Rob
>
> On Apr 16, 2006, at 1:42 PM, Chris Lattner wrote:
>
>> On Sun, 16 Apr 2006, Tanya Lattner
2005 Jan 07
3
[LLVMdev] make check fails on mingw
I'm not sure if dejagnu is installed correctly. Is there any way to call it
on the command line?
I get this:
-------------------
$ runtest --version | tee -a my_runtest.log
WARNING: Couldn't find the global config file.
Expect version is 5.21
Tcl version is 8.0
Framework version is 1.4.4
-------------------
and
-------------------
$ ls /usr/local/share/dejagnu/
2007 Aug 09
0
[LLVMdev] c const
On Wed, 8 Aug 2007, Nikhil A. Patil wrote:
> I think I found a bug. I don't know if it's in upstream gcc or llvm-gcc4.
Looks like a bug, please file a bugzilla entry.
-Chris
> int func()
> {
> const int *arr;
> arr[0] = 1;
> }
>
> $ llvm-gcc main.c -c; echo $?
> 0
>
> $ gcc main.c -c
> main.c: In function 'func':
> main.c:4: error:
2005 Aug 24
1
[LLVMdev] Problems running dejagnu tests
OK, that explains it. I probably didn't have runtest installed the
last time I ran configure, and re-syncing with CVS also caused it to
reconfigure, solving the problem but confusing me.
Thanks,
-mike
On 8/24/05, Chris Lattner <sabre at nondot.org> wrote:
> On Wed, 24 Aug 2005, Michael McCracken wrote:
> > I'm mostly up to date, but not completely current with CVS. Is this
2005 Jul 26
1
[LLVMdev] llvm::ConvertibleToGEP
Well, I guess I was hoping soemthing like this would help in the
pointer-to-array transformation for the following code:
> > int A[100], B[100], C[100], X, Y, Z;
> >
> > int *p_a = &A[0];
> > int *p_b = &B[0];
> > int *p_c = &C[0];
> >
> > int i, j, k, f;
> > for ( k = 0; k < Z; k++ )
> >
2007 Jul 03
0
[LLVMdev] Question about Constant Expressions
On Tue, 3 Jul 2007, Ben Chambers wrote:
> How hard would it be to compile this pass and add it to the passes
> that opt can run? Is this something I should be able to do relatively
> quickly? What was the name of the file(s) that implemented the pass?
It should be easy, modulo it bitrotting. It is already built as an opt
pass. The filename was LowerConstantExpr.cpp IIRC.
-Chris
2005 Jul 26
0
[LLVMdev] llvm::ConvertibleToGEP
On Tue, 26 Jul 2005, Naftali Schwartz wrote:
> I'm sorry, it had seemed to me that the documented functionality:
>
> // ConvertibleToGEP - This function returns true if the specified value V is
> // a valid index into a pointer of type Ty. If it is valid, Idx is filled in
> // with the values that would be appropriate to make this a getelementptr
> // instruction. The type
2005 Mar 12
2
[LLVMdev] GCC 3.4.1 and conflicting types for 'malloc' (2)
Yes, sorry for not mentioning it. I added that header also
Although I suppose that if I am not using Sparc there will be no problem (it's an Itanium 2
machine)
Thanks
--- Chris Lattner <sabre at nondot.org> wrote:
> On Sat, 12 Mar 2005, xavier wrote:
>
> > I commented this line and it is compiling now:
> >
> > extern void *malloc ARGS((unsigned));
> >
2007 May 28
1
[LLVMdev] Usage of llvmc
Thank you so much for your reply, Chris.
If so, can I ask you two things more?
First, is there any way to have various optimizations on LLVM assembly such as -O options in llvmc?
llvm-gcc doesn't seem to be working for these -O options...
Second, I'm still not sure about difference between *.s and *.ll.
LLVM assembly *.s file can be made from llvm-gcc -S.
Another assembly *.ll file comes
2002 Nov 20
2
[LLVMdev] getScalarMap
> ......
> DSGraph* DSG = getAnalysis<BUDataStructures>().getDSGraph( F );
> std::map< Value*, DSNodeHandle> scalarmap = DSG->getScalarMap();
> ......
>
> The scalarmap is always empty. I printed the size of the map which came
> out to be zero always. But the getNodeForValue works correctly for the
> same DSG, which means that the scalarmap cannot be
2005 Jan 07
0
[LLVMdev] make check fails on mingw
On Fri, 7 Jan 2005, Henrik Bach wrote:
> You're right. And no errors or results where generated:
> PATH=/C/projects/build/MinGW/llvm-2-1/Debug/bin:/C/projects/src/llvm-2/llvm/test/Scripts:.:/usr/local/bin:/mingw/bin:/bin:/mingw/bin:/usr/bin:/c/LLVM/tools:/c/perl/5.8.5/bin:/c/perl/5.8.5/bin/MSWin32-x86-multi-thread
> \
> true runtest
> make[1]: Leaving directory
2007 May 29
0
[LLVMdev] Developer Meeting videos
In terms of promoting LLVM, it might be nice to actually post those
on a site like youTube, where it might get more exposure -- I think
that they have a 'developer' or 'software' sub-genre (like the
'Google-talk' series).
-Gabe
On May 29, 2007, at 3:54 PM, Chris Lattner wrote:
> On Tue, 29 May 2007, Kenneth Hoste wrote:
>> One minor detail: the last video
2007 Jun 26
0
[LLVMdev] LLVM 2.0 and integer signedness
El 26/06/2007, a las 20:05, Chris Lattner escribió:
> On Tue, 26 Jun 2007, [ISO-8859-1] Alberto González wrote:
>> I'm using LLVM to instrument C code to test the efectiveness of some
>> methods of error detection with dynamic invariants (see http://
>> citeseer.ist.psu.edu/hangal02tracking.html). I'm using also a range
>> invariant (max an min values seen). The
2007 Jul 04
1
[LLVMdev] Question about Constant Expressions
Chris:
It was in the 1.5 release but not subsequent to that. You can find this
by looking for the file in the branches that were converted from
subversion. You can find the file you're looking for here:
http://llvm.org/viewvc/llvm-project/llvm/branches/release_15/lib/Transforms/Scalar/LowerConstantExprs.cpp?view=log
Reid.
On Tue, 2007-07-03 at 14:29 -0700, Chris Lattner wrote:
> On
2007 Jul 04
0
[LLVMdev] Accessing/Loading a new pass
On Wed, 4 Jul 2007, Ben Chambers wrote:
> Ah, I was missing that include/llvm/LinkAllPasses.h change. Thanks!
> Now I have it working, except for the fact that it doesn't seem to
> generate fresh names for things. Or if it does, they're the empty
> string (I suspect it is the latter, since when I create the new
> instruction the empty string is passed in for the name of