[llvm-commits] [llvm] r41838 - in /llvm/trunk: include/llvm/Target/TargetAsmInfo.h lib/CodeGen/DwarfWriter.cpp lib/Target/TargetAsmInfo.cpp lib/Target/X86/X86ATTAsmPrinter.cpp lib/Target/X86/X86AsmPri

2007-09-11 Thread Bill Wendling
Author: void Date: Tue Sep 11 03:27:17 2007 New Revision: 41838 URL: http://llvm.org/viewvc/llvm-project?rev=41838view=rev Log: The personality function on Darwin needs a global stub. We then refer to that global stub instead of doing the .set thingy we were doing before. Modified:

Re: [llvm-commits] [llvm] r41838 - in /llvm/trunk: include/llvm/Target/TargetAsmInfo.h lib/CodeGen/DwarfWriter.cpp lib/Target/TargetAsmInfo.cpp lib/Target/X86/X86ATTAsmPrinter.cpp lib/Target/X86/X86As

2007-09-11 Thread Anton Korobeynikov
Bill, The personality function on Darwin needs a global stub. We then refer to that global stub instead of doing the .set thingy we were doing before. This breaks linux. The problem is indirect encoding of personality symbol. It shouldn't be so for linux. It seems we need another knob for it :(

[llvm-commits] [llvm-gcc-4.2] r41839 - /llvm-gcc-4.2/trunk/gcc/c-typeck.c

2007-09-11 Thread Duncan Sands
Author: baldrick Date: Tue Sep 11 07:09:22 2007 New Revision: 41839 URL: http://llvm.org/viewvc/llvm-project?rev=41839view=rev Log: Revert r41761 because it is not needed for 4.2. Modified: llvm-gcc-4.2/trunk/gcc/c-typeck.c Modified: llvm-gcc-4.2/trunk/gcc/c-typeck.c URL:

[llvm-commits] [llvm] r41840 - /llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp

2007-09-11 Thread Duncan Sands
Author: baldrick Date: Tue Sep 11 07:30:25 2007 New Revision: 41840 URL: http://llvm.org/viewvc/llvm-project?rev=41840view=rev Log: My compiler warns about the semicolon. Modified: llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp Modified: llvm/trunk/lib/Target/X86/X86FloatingPoint.cpp URL:

[llvm-commits] [llvm] r41841 - in /llvm/trunk: docs/ include/llvm/ include/llvm/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/IA64/ lib/Target/Mips/ lib/Target/PowerP

2007-09-11 Thread Duncan Sands
Author: baldrick Date: Tue Sep 11 09:10:23 2007 New Revision: 41841 URL: http://llvm.org/viewvc/llvm-project?rev=41841view=rev Log: Fold the adjust_trampoline intrinsic into init_trampoline. There is now only one trampoline intrinsic. Modified: llvm/trunk/docs/LangRef.html

[llvm-commits] [llvm-gcc-4.0] r41842 - in /llvm-gcc-4.0/trunk/gcc: builtins.c builtins.def llvm-convert.cpp llvm-internal.h tree-nested.c tree.c

2007-09-11 Thread Duncan Sands
Author: baldrick Date: Tue Sep 11 09:18:58 2007 New Revision: 41842 URL: http://llvm.org/viewvc/llvm-project?rev=41842view=rev Log: Fold adjust_trampoline into init_trampoline. Store the function pointer for the trampoline in the frame struct rather than the trampoline itself. Modified:

[llvm-commits] [llvm-gcc-4.2] r41843 - in /llvm-gcc-4.2/trunk/gcc: builtins.c builtins.def llvm-convert.cpp llvm-internal.h tree-nested.c tree.c

2007-09-11 Thread Duncan Sands
Author: baldrick Date: Tue Sep 11 09:22:56 2007 New Revision: 41843 URL: http://llvm.org/viewvc/llvm-project?rev=41843view=rev Log: Fold adjust_trampoline into init_trampoline. Store the function pointer for the trampoline in the frame struct rather than the trampoline itself. Modified:

[llvm-commits] [llvm] r41844 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

2007-09-11 Thread Duncan Sands
Author: baldrick Date: Tue Sep 11 09:35:41 2007 New Revision: 41844 URL: http://llvm.org/viewvc/llvm-project?rev=41844view=rev Log: Turn calls to trampolines into calls to the underlying nested function. Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Modified:

[llvm-commits] [llvm] r41845 - /llvm/trunk/lib/VMCore/Function.cpp

2007-09-11 Thread Duncan Sands
Author: baldrick Date: Tue Sep 11 09:40:04 2007 New Revision: 41845 URL: http://llvm.org/viewvc/llvm-project?rev=41845view=rev Log: Two ParamAttrsVectors which differ by a permutation of their elements do not yield the same ParamAttrsList, though they should. On the other hand, everyone seems to

[llvm-commits] [llvm] r41846 - /llvm/trunk/test/Transforms/InstCombine/2007-09-11-Trampoline.ll

2007-09-11 Thread Duncan Sands
Author: baldrick Date: Tue Sep 11 10:07:50 2007 New Revision: 41846 URL: http://llvm.org/viewvc/llvm-project?rev=41846view=rev Log: Test that a call to a trampoline is turned into a call to the underlying nested function. Added: llvm/trunk/test/Transforms/InstCombine/2007-09-11-Trampoline.ll

[llvm-commits] [llvm] r41849 - /llvm/trunk/utils/profile.pl

2007-09-11 Thread Chris Lattner
Author: lattner Date: Tue Sep 11 12:09:54 2007 New Revision: 41849 URL: http://llvm.org/viewvc/llvm-project?rev=41849view=rev Log: update this to use llvm-config, patch by Jose M. Moya Modified: llvm/trunk/utils/profile.pl Modified: llvm/trunk/utils/profile.pl URL:

[llvm-commits] [llvm] r41850 - /llvm/trunk/runtime/libdummy/

2007-09-11 Thread Chris Lattner
Author: lattner Date: Tue Sep 11 12:10:52 2007 New Revision: 41850 URL: http://llvm.org/viewvc/llvm-project?rev=41850view=rev Log: remove an obsolete library. Removed: llvm/trunk/runtime/libdummy/ ___ llvm-commits mailing list

[llvm-commits] [llvm] r41851 - /llvm/trunk/runtime/Makefile

2007-09-11 Thread Chris Lattner
Author: lattner Date: Tue Sep 11 12:12:32 2007 New Revision: 41851 URL: http://llvm.org/viewvc/llvm-project?rev=41851view=rev Log: Reenable libgc and libprofile is explicitly requested. Modified: llvm/trunk/runtime/Makefile Modified: llvm/trunk/runtime/Makefile URL:

[llvm-commits] [llvm] r41852 - in /llvm/trunk: include/llvm/Target/TargetAsmInfo.h lib/CodeGen/DwarfWriter.cpp lib/Target/TargetAsmInfo.cpp lib/Target/X86/X86TargetAsmInfo.cpp

2007-09-11 Thread Bill Wendling
Author: void Date: Tue Sep 11 12:20:55 2007 New Revision: 41852 URL: http://llvm.org/viewvc/llvm-project?rev=41852view=rev Log: Add a bool to indicate if we should set the indirect encoding bit in the Dwarf information for EH. Modified: llvm/trunk/include/llvm/Target/TargetAsmInfo.h

Re: [llvm-commits] [llvm] r41838 - in /llvm/trunk: include/llvm/Target/TargetAsmInfo.h lib/CodeGen/DwarfWriter.cpp lib/Target/TargetAsmInfo.cpp lib/Target/X86/X86ATTAsmPrinter.cpp lib/Target/X86/X86As

2007-09-11 Thread Bill Wendling
On 9/11/07, Anton Korobeynikov [EMAIL PROTECTED] wrote: Bill, The personality function on Darwin needs a global stub. We then refer to that global stub instead of doing the .set thingy we were doing before. This breaks linux. The problem is indirect encoding of personality symbol. It

[llvm-commits] [llvm] r41854 - /llvm/trunk/include/llvm/Target/TargetAsmInfo.h

2007-09-11 Thread Bill Wendling
Author: void Date: Tue Sep 11 12:24:38 2007 New Revision: 41854 URL: http://llvm.org/viewvc/llvm-project?rev=41854view=rev Log: Add accessor method. Modified: llvm/trunk/include/llvm/Target/TargetAsmInfo.h Modified: llvm/trunk/include/llvm/Target/TargetAsmInfo.h URL:

[llvm-commits] [llvm] r41855 - /llvm/trunk/include/llvm/ADT/SparseBitVector.h

2007-09-11 Thread Daniel Berlin
Author: dannyb Date: Tue Sep 11 12:42:22 2007 New Revision: 41855 URL: http://llvm.org/viewvc/llvm-project?rev=41855view=rev Log: Convert to use ilist and non-pointer lists for extra goodness Modified: llvm/trunk/include/llvm/ADT/SparseBitVector.h Modified:

[llvm-commits] [llvm-gcc-4.0] r41856 - /llvm-gcc-4.0/emptydir/

2007-09-11 Thread Bill Wendling
Author: void Date: Tue Sep 11 13:08:03 2007 New Revision: 41856 URL: http://llvm.org/viewvc/llvm-project?rev=41856view=rev Log: Adding an empty directory emptydir so that we can switch libstdc++ to it and won't have to continually remove it. Added: llvm-gcc-4.0/emptydir/

[llvm-commits] [llvm-gcc-4.2] r41857 - /llvm-gcc-4.2/emptydir/

2007-09-11 Thread Bill Wendling
Author: void Date: Tue Sep 11 13:11:37 2007 New Revision: 41857 URL: http://llvm.org/viewvc/llvm-project?rev=41857view=rev Log: Create an empty directory emptydir so that we can switch libstdc++-v3 to it so we don't have to keep deleting it. Added: llvm-gcc-4.2/emptydir/

[llvm-commits] [llvm] r41858 - in /llvm/trunk: include/llvm/ADT/ lib/AsmParser/ lib/Bitcode/Reader/ lib/Bitcode/Writer/ lib/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Support/ lib/Target/CBackend/ lib/Tar

2007-09-11 Thread Dale Johannesen
Author: johannes Date: Tue Sep 11 13:32:33 2007 New Revision: 41858 URL: http://llvm.org/viewvc/llvm-project?rev=41858view=rev Log: Add APInt interfaces to APFloat (allows directly access to bits). Use them in place of float and double interfaces where appropriate. First bits of x86 long double

[llvm-commits] [llvm] r41861 - /llvm/trunk/utils/TableGen/DAGISelEmitter.cpp

2007-09-11 Thread Evan Cheng
Author: evancheng Date: Tue Sep 11 14:52:18 2007 New Revision: 41861 URL: http://llvm.org/viewvc/llvm-project?rev=41861view=rev Log: Allow set operators with multiple destinations, i.e. (set x, y, (op a, b)). Modified: llvm/trunk/utils/TableGen/DAGISelEmitter.cpp Modified:

[llvm-commits] [llvm] r41862 - /llvm/trunk/lib/Target/X86/X86RegisterInfo.td

2007-09-11 Thread Evan Cheng
Author: evancheng Date: Tue Sep 11 14:53:28 2007 New Revision: 41862 URL: http://llvm.org/viewvc/llvm-project?rev=41862view=rev Log: Added status flags register: EFLAGS. Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.td Modified: llvm/trunk/lib/Target/X86/X86RegisterInfo.td URL:

Re: [llvm-commits] [llvm] r41855 - /llvm/trunk/include/llvm/ADT/SparseBitVector.h

2007-09-11 Thread Chris Lattner
URL: http://llvm.org/viewvc/llvm-project?rev=41855view=rev Log: Convert to use ilist and non-pointer lists for extra goodness Yay! + // Dump our bits to stderr + void dump(llvm::OStream out) const { +out [ ; +for (iterator bi = begin(); + bi != end(); + ++bi)

Re: [llvm-commits] [llvm] r41838 - in /llvm/trunk: include/llvm/Target/TargetAsmInfo.h lib/CodeGen/DwarfWriter.cpp lib/Target/TargetAsmInfo.cpp lib/Target/X86/X86ATTAsmPrinter.cpp lib/Target/X86/X86As

2007-09-11 Thread Chris Lattner
On Sep 11, 2007, at 10:21 AM, Bill Wendling wrote: On 9/11/07, Anton Korobeynikov [EMAIL PROTECTED] wrote: Bill, The personality function on Darwin needs a global stub. We then refer to that global stub instead of doing the .set thingy we were doing before. This breaks linux. The

[llvm-commits] [llvm-gcc-4.2] r41865 - in /llvm-gcc-4.2/trunk/gcc: c-pragma.c config/darwin.h

2007-09-11 Thread Anton Korobeynikov
Author: asl Date: Tue Sep 11 16:21:28 2007 New Revision: 41865 URL: http://llvm.org/viewvc/llvm-project?rev=41865view=rev Log: Unbreak #pragma pack on non-darwin. 4.0 will follow. Modified: llvm-gcc-4.2/trunk/gcc/c-pragma.c llvm-gcc-4.2/trunk/gcc/config/darwin.h Modified:

Re: [llvm-commits] [llvm] r41858 - in /llvm/trunk: include/llvm/ADT/ lib/AsmParser/ lib/Bitcode/Reader/ lib/Bitcode/Writer/ lib/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Support/ lib/Target/CBackend/ lib

2007-09-11 Thread Chris Lattner
Add APInt interfaces to APFloat (allows directly access to bits). Use them in place of float and double interfaces where appropriate. First bits of x86 long double constants handling (untested, probably does not work). Nice!

Re: [llvm-commits] [llvm] r41855 - /llvm/trunk/include/llvm/ADT/SparseBitVector.h

2007-09-11 Thread Daniel Berlin
On 9/11/07, Chris Lattner [EMAIL PROTECTED] wrote: URL: http://llvm.org/viewvc/llvm-project?rev=41855view=rev Log: Convert to use ilist and non-pointer lists for extra goodness Yay! + // Dump our bits to stderr + void dump(llvm::OStream out) const { +out [ ; +for

Re: [llvm-commits] [llvm] r41855 - /llvm/trunk/include/llvm/ADT/SparseBitVector.h

2007-09-11 Thread Chris Lattner
On Sep 11, 2007, at 2:40 PM, Daniel Berlin wrote: On 9/11/07, Chris Lattner [EMAIL PROTECTED] wrote: URL: http://llvm.org/viewvc/llvm-project?rev=41855view=rev Log: Convert to use ilist and non-pointer lists for extra goodness Yay! + // Dump our bits to stderr + void

Re: [llvm-commits] [llvm] r41844 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

2007-09-11 Thread Chris Lattner
On Sep 11, 2007, at 7:35 AM, Duncan Sands wrote: Author: baldrick Date: Tue Sep 11 09:35:41 2007 New Revision: 41844 URL: http://llvm.org/viewvc/llvm-project?rev=41844view=rev Log: Turn calls to trampolines into calls to the underlying nested function. Nice! Can you please add a

Re: [llvm-commits] Trampoline changes

2007-09-11 Thread Chris Lattner
On Sep 9, 2007, at 1:46 AM, Duncan Sands wrote: Hi Nick, It is easy to construct testcases for which this works, but sadly I was unable to get the optimization to occur even once in a trampoline heavy real- world program without jacking-up the inlining limit hugely (to 10; 1

[llvm-commits] [llvm-gcc-4.0] r41867 - in /llvm-gcc-4.0/trunk/gcc: c-pragma.c config/darwin.h

2007-09-11 Thread Anton Korobeynikov
Author: asl Date: Tue Sep 11 17:03:27 2007 New Revision: 41867 URL: http://llvm.org/viewvc/llvm-project?rev=41867view=rev Log: Unbreak #pragma pack on non-darwin Modified: llvm-gcc-4.0/trunk/gcc/c-pragma.c llvm-gcc-4.0/trunk/gcc/config/darwin.h Modified:

Re: [llvm-commits] BrainF compiler

2007-09-11 Thread Chris Lattner
On Sep 6, 2007, at 10:03 AM, S3 wrote: This is a new BrainF compiler to replace the old one. It uses the C++ API so it will generate code in the proper format. It consolidates similar commands (blocks of ('+' and '-') and ('' and '')). It has an option for array bounds checking. Nice!

[llvm-commits] [llvm] r41869 - /llvm/trunk/test/CFrontend/2007-09-19-PragmaPack.c

2007-09-11 Thread Anton Korobeynikov
Author: asl Date: Tue Sep 11 17:12:26 2007 New Revision: 41869 URL: http://llvm.org/viewvc/llvm-project?rev=41869view=rev Log: Testcase for recent pragma pack stuff Added: llvm/trunk/test/CFrontend/2007-09-19-PragmaPack.c Added: llvm/trunk/test/CFrontend/2007-09-19-PragmaPack.c URL:

[llvm-commits] [llvm] r41870 - in /llvm/trunk/test/CFrontend: 2007-09-12-PragmaPack.c 2007-09-19-PragmaPack.c

2007-09-11 Thread Anton Korobeynikov
Author: asl Date: Tue Sep 11 17:20:27 2007 New Revision: 41870 URL: http://llvm.org/viewvc/llvm-project?rev=41870view=rev Log: Fix date :) Added: llvm/trunk/test/CFrontend/2007-09-12-PragmaPack.c - copied unchanged from r41869, llvm/trunk/test/CFrontend/2007-09-19-PragmaPack.c

[llvm-commits] [llvm] r41871 - in /llvm/trunk: lib/CodeGen/LiveVariables.cpp test/CodeGen/PowerPC/2007-09-11-RegCoalescerAssert.ll

2007-09-11 Thread Evan Cheng
Author: evancheng Date: Tue Sep 11 17:34:47 2007 New Revision: 41871 URL: http://llvm.org/viewvc/llvm-project?rev=41871view=rev Log: Sometimes a MI can define a register as well as defining a super-register at the same time. Do not mark the smaller def as dead. Added:

[llvm-commits] [llvm] r41872 - /llvm/trunk/include/llvm/ADT/SparseBitVector.h

2007-09-11 Thread Daniel Berlin
Author: dannyb Date: Tue Sep 11 17:58:27 2007 New Revision: 41872 URL: http://llvm.org/viewvc/llvm-project?rev=41872view=rev Log: Move dump out of class, use \n instead of endl Modified: llvm/trunk/include/llvm/ADT/SparseBitVector.h Modified: llvm/trunk/include/llvm/ADT/SparseBitVector.h

Re: [llvm-commits] [llvm] r41858 - in /llvm/trunk: include/llvm/ADT/ lib/AsmParser/ lib/Bitcode/Reader/ lib/Bitcode/Writer/ lib/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Support/ lib/Target/CBackend/ lib

2007-09-11 Thread Dale Johannesen
On Sep 11, 2007, at 2:36 PM, Chris Lattner wrote: = = --- llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp (original) +++ llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp Tue Sep 11 13:32:33 2007 @@ -527,13 +527,20

Re: [llvm-commits] [llvm] r41838 - in /llvm/trunk: include/llvm/Target/TargetAsmInfo.h lib/CodeGen/DwarfWriter.cpp lib/Target/TargetAsmInfo.cpp lib/Target/X86/X86ATTAsmPrinter.cpp lib/Target/X86/X86As

2007-09-11 Thread Bill Wendling
On 9/11/07, Chris Lattner [EMAIL PROTECTED] wrote: On Sep 11, 2007, at 10:21 AM, Bill Wendling wrote: On 9/11/07, Anton Korobeynikov [EMAIL PROTECTED] wrote: Bill, The personality function on Darwin needs a global stub. We then refer to that global stub instead of doing the .set

[llvm-commits] [llvm] r41873 - in /llvm/trunk/lib/Target: ARM/ARMTargetAsmInfo.cpp PowerPC/PPCTargetAsmInfo.cpp

2007-09-11 Thread Bill Wendling
Author: void Date: Tue Sep 11 18:55:40 2007 New Revision: 41873 URL: http://llvm.org/viewvc/llvm-project?rev=41873view=rev Log: Enable indirect encoding for the personality function Modified: llvm/trunk/lib/Target/ARM/ARMTargetAsmInfo.cpp

[llvm-commits] [llvm] r41874 - /llvm/trunk/lib/Support/APFloat.cpp

2007-09-11 Thread Dale Johannesen
Author: johannes Date: Tue Sep 11 20:22:05 2007 New Revision: 41874 URL: http://llvm.org/viewvc/llvm-project?rev=41874view=rev Log: Compensate for partCount change in Bogus definition (could break hash table in ConstantFP) Modified: llvm/trunk/lib/Support/APFloat.cpp Modified:

Re: [llvm-commits] BrainF compiler

2007-09-11 Thread S3
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have made the requested changes. It is now split into separate files. The code should be clean now. This is a new BrainF compiler to replace the old one. It uses the C++ API so it will generate code in the proper format. It consolidates similar

[llvm-commits] [llvm] r41875 - in /llvm/trunk: lib/AsmParser/Lexer.l lib/AsmParser/llvmAsmParser.y lib/Bitcode/Reader/BitcodeReader.cpp lib/Bitcode/Writer/BitcodeWriter.cpp lib/CodeGen/AsmPrinter.cpp

2007-09-11 Thread Dale Johannesen
Author: johannes Date: Tue Sep 11 22:30:33 2007 New Revision: 41875 URL: http://llvm.org/viewvc/llvm-project?rev=41875view=rev Log: Revise previous patch per review comments. Next round of x87 long double stuff. Getting close now, basically works. Modified: llvm/trunk/lib/AsmParser/Lexer.l

[llvm-commits] [llvm] r41876 - in /llvm/trunk/lib/AsmParser: Lexer.cpp.cvs Lexer.l.cvs llvmAsmParser.cpp.cvs llvmAsmParser.y.cvs

2007-09-11 Thread Dale Johannesen
Author: johannes Date: Tue Sep 11 22:31:28 2007 New Revision: 41876 URL: http://llvm.org/viewvc/llvm-project?rev=41876view=rev Log: Generated files for previous patch. Modified: llvm/trunk/lib/AsmParser/Lexer.cpp.cvs llvm/trunk/lib/AsmParser/Lexer.l.cvs