Re: [llvm-commits] [llvm-gcc patch] enable pic codegen for arm-linux

2007-05-14 Thread Evan Cheng
Applied. Thanks. Evan On May 14, 2007, at 4:25 PM, Lauro Ramos Venancio wrote: > This patch enables pic codegen for arm-linux. > > Lauro > > ___ > llvm-commits mailing list > llvm-commits@cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-com

[llvm-commits] [llvm-gcc patch] enable pic codegen for arm-linux

2007-05-14 Thread Lauro Ramos Venancio
This patch enables pic codegen for arm-linux. Lauro Index: gcc/config/arm/linux-elf.h === --- gcc/config/arm/linux-elf.h (revision 336) +++ gcc/config/arm/linux-elf.h (working copy) @@ -149,3 +149,17 @@ #ifdef HAVE_LD_AS_NEEDED #de

Re: [llvm-commits] [llvm-gcc patch] when -mthumb is used, we must emit the triple thumb-linux-gnueabi or thumb-apple-darwin

2007-05-04 Thread Evan Cheng
Actually LLVM_OVERRIDE_TARGET_ARCH should return "" if the default should not be overridden. Committed. Thanks, Evan On May 4, 2007, at 4:41 PM, Lauro Ramos Venancio wrote: > Please, someone commit this patch. This is a bugfix and it is > important for thumb remote tests. > > Lauro > >

[llvm-commits] [llvm-gcc patch] when -mthumb is used, we must emit the triple thumb-linux-gnueabi or thumb-apple-darwin

2007-05-04 Thread Lauro Ramos Venancio
Please, someone commit this patch. This is a bugfix and it is important for thumb remote tests. Lauro Index: gcc/config/arm/arm.h === --- gcc/config/arm/arm.h (revision 319) +++ gcc/config/arm/arm.h (working copy) @@ -2920,4 +2937,7

[llvm-commits] [llvm-gcc] Patch for PR1146 For Unique ParamAttrsList objects

2007-04-21 Thread Reid Spencer
Please review and apply to llvm-gcc. These changes are needed to make llvm-gcc work with latest changes in LLVM. Reid. Index: gcc/llvm-types.cpp === --- gcc/llvm-types.cpp (revision 314) +++ gcc/llvm-types.cpp (working copy) @@ -751,1

Re: [llvm-commits] [llvm-gcc patch] workaround to fix function arguments aligment on arm-linux-gnueabi

2007-03-02 Thread Evan Cheng
Committed with one minor change: bool UseInt64 = (Align >= Int64Align); Thanks, Evan On Mar 1, 2007, at 1:03 PM, Lauro Ramos Venancio wrote: > This patch fixes SingleSource/UnitTests/2003-05-07-VarArgs.c test on > arm-linux-gnueabi. > > Lauro > > ___

[llvm-commits] [llvm-gcc patch] workaround to fix function arguments aligment on arm-linux-gnueabi

2007-03-01 Thread Lauro Ramos Venancio
This patch fixes SingleSource/UnitTests/2003-05-07-VarArgs.c test on arm-linux-gnueabi. Lauro Index: gcc/llvm-abi.h === --- gcc/llvm-abi.h (revision 285) +++ gcc/llvm-abi.h (working copy) @@ -32,6 +32,7 @@ #include "llvm-internal.h"

Re: [llvm-commits] [llvm-gcc] Patch needed?

2007-02-18 Thread Reid Spencer
Chris, On Sun, 2007-02-18 at 11:57 -0800, Chris Lattner wrote: > On Feb 18, 2007, at 12:03 AM, Reid Spencer wrote: > > > Hi, > > > > I found a situation where the following patch is needed. Building > > llvm-gcc head (with cummulative patch) fails with SEGV while compiling > > the libstdc++. This

Re: [llvm-commits] [llvm-gcc] Patch needed?

2007-02-18 Thread Chris Lattner
On Feb 18, 2007, at 12:03 AM, Reid Spencer wrote: > Hi, > > I found a situation where the following patch is needed. Building > llvm-gcc head (with cummulative patch) fails with SEGV while compiling > the libstdc++. This patch is a bandaid and I don't know if its the > correct thing or not as TYP

[llvm-commits] [llvm-gcc] Patch needed?

2007-02-18 Thread Reid Spencer
Hi, I found a situation where the following patch is needed. Building llvm-gcc head (with cummulative patch) fails with SEGV while compiling the libstdc++. This patch is a bandaid and I don't know if its the correct thing or not as TYPE_SIZE(Type) should probably not be null, but it is. You can p

[llvm-commits] llvm-gcc patch: fix PR1150

2007-01-31 Thread Lauro Ramos Venancio
Fix PR1150. http://llvm.org/bugs/show_bug.cgi?id=1150 Lauro Index: Makefile.in === --- Makefile.in (revision 262) +++ Makefile.in (working copy) @@ -179,7 +179,9 @@ STAGE_HOST_EXPORTS = \ $(HOST_EXPORTS) \ CC="$(STAGE_CC_WRAPPE

Re: [llvm-commits] [llvm-gcc] Patch for isExternal -> isDeclaration

2007-01-30 Thread Devang Patel
On Jan 30, 2007, at 3:26 PM, Reid Spencer wrote: > Here's a patch for llvm-gcc for PR1136 renaming > GlobalValue::isExternal > as isDeclaration. Applied. Thanks, - Devang ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.ed

[llvm-commits] [llvm-gcc] Patch for isExternal -> isDeclaration

2007-01-30 Thread Reid Spencer
Here's a patch for llvm-gcc for PR1136 renaming GlobalValue::isExternal as isDeclaration. Reid. Index: gcc/llvm-backend.cpp === --- gcc/llvm-backend.cpp (revision 262) +++ gcc/llvm-backend.cpp (working copy) @@ -398,7 +398,7 @@

[llvm-commits] [llvm-gcc] Patch For PR761

2007-01-26 Thread Reid Spencer
Jim, This patch is needed to get llvm-gcc to set the DataLayout string properly and not use setEndianness or setPointerSize any more. These are changes made by PR761. Please apply at your earliest convenience. This was made against repository revision 256. Thanks, Reid. Index: gcc/llvm-backend.

[llvm-commits] llvm-gcc patch for TargetData changes

2007-01-20 Thread Chris Lattner
This patch matches Scott's recent TargetData changes that landed, and cleans up integer type handling in llvm-types.cpp. Index: llvm-backend.cpp === --- llvm-backend.cpp(revision 122494) +++ llvm-backend.cpp(working copy) @

[llvm-commits] llvm-gcc patch to support isIntegral rename

2007-01-14 Thread Chris Lattner
Index: llvm-convert.cpp === --- llvm-convert.cpp(revision 122440) +++ llvm-convert.cpp(working copy) @@ -221,7 +221,7 @@ // If this is just a mismatch between integer types, this is due // to K&R proto

[llvm-commits] llvm-gcc patch applied

2007-01-07 Thread Chris Lattner
Update code to work with new Module::getOrInsertFunction prototype. Fix unordered comparison emission from being this: %tmp = fcmp uno float %tmp, %tmp1 ; [#uses=1] %tmp2 = call bool %llvm.isunordered.f32( float %tmp, float % tmp1 ) %tmp3 = or bool %tmp

[llvm-commits] llvm-gcc patch: Map Stomp

2007-01-06 Thread Bill Wendling
Hi all, I committed this patch. It's one that was committed Apple's GCC. It solves a problem where an address gotten from a map could be stomped on by a subsequent call-back function. -bw In the libcpp directory: 2007-01-06 Bill Wendling <[EMAIL PROTECTED]> Radar 4897123

[llvm-commits] llvm-gcc patch for pr1083

2007-01-06 Thread Chris Lattner
This fixes PR1083 and test/Regression/CFrontend/2007-01-06-KNR-Proto.c Index: llvm-convert.cpp === --- llvm-convert.cpp(revision 122081) +++ llvm-convert.cpp(working copy) @@ -209,14 +209,20 @@ void HandleScalarArgument(

[llvm-commits] llvm-gcc patch

2006-11-28 Thread Chris Lattner
Applied. Index: llvm-convert.cpp === --- llvm-convert.cpp(revision 120665) +++ llvm-convert.cpp(working copy) @@ -34,8 +34,9 @@ #include "llvm/Instructions.h" #include "llvm/Intrinsics.h" #include "llvm/Module.h" +#include "l

[llvm-commits] llvm-gcc patch for PR954

2006-10-30 Thread Chris Lattner
I applied this patch. Testcase here: Regression/C++Frontend/2006-10-30-ClassBitfield.cpp -Chris Index: llvm-convert.cpp === --- llvm-convert.cpp(revision 119298) +++ llvm-convert.cpp(working copy) @@ -3874,7 +3874,7 @@

Re: [llvm-commits] llvm-gcc patch

2006-10-29 Thread Chris Lattner
http://llvm.org/bugs/attachment.cgi?id=423&action=view -Chris On Oct 29, 2006, at 8:14 PM, Reid Spencer wrote: > Chris, > > Could you please resend this as an attachment. It is not applying > correctly. > > Thanks, > > Reid. > > On Sun, 2006-10-29 at 09:39 -0800, Chris Lattner wrote: >> Index:

Re: [llvm-commits] llvm-gcc patch

2006-10-29 Thread Reid Spencer
Chris, Could you please resend this as an attachment. It is not applying correctly. Thanks, Reid. On Sun, 2006-10-29 at 09:39 -0800, Chris Lattner wrote: > Index: crtstuff.c > === > --- crtstuff.c (revision 119298) > +++ crtstuff.

[llvm-commits] llvm-gcc patch

2006-10-29 Thread Chris Lattner
I just committed Anton's patch for PR973. This should greatly improve static ctor/dtor handling on linux. -Chris Index: crtstuff.c === --- crtstuff.c (revision 119298) +++ crtstuff.c (working copy) @@ -51,9 +51,6 @@ This file

[llvm-commits] llvm-gcc patch

2006-10-03 Thread Chris Lattner
Applied, to match recent AsmPrinter.cpp change. -Chris Index: llvm-convert.cpp === --- llvm-convert.cpp(revision 118526) +++ llvm-convert.cpp(working copy) @@ -2474,6 +2474,12 @@ case 0: return Result; /

[llvm-commits] llvm-gcc patch

2006-09-28 Thread Chris Lattner
FYI, this updates llvm-gcc to work with recent llvm cvs changes. -Chris Index: llvm-backend.cpp === --- llvm-backend.cpp(revision 118395) +++ llvm-backend.cpp(working copy) @@ -575,10 +575,10 @@ bool ValidateRegisterVariable(