[llvm-commits] [llvm] r41879 - in /llvm/trunk: docs/GarbageCollection.html lib/Transforms/Scalar/LowerGC.cpp

2007-09-12 Thread Chris Lattner
Author: lattner Date: Wed Sep 12 12:53:10 2007 New Revision: 41879 URL: http://llvm.org/viewvc/llvm-project?rev=41879&view=rev Log: Change llvm.gcroot to not init the root to null at runtime, this prevents using it for live-in values etc. Modified: llvm/trunk/docs/GarbageCollection.html l

Re: [llvm-commits] [llvm] r41879 - in /llvm/trunk: docs/GarbageCollection.html lib/Transforms/Scalar/LowerGC.cpp

2007-09-12 Thread Gordon Henriksen
Hm. Are you sure this is wise? I realize my patch didn't provide root initialization, but I have that fixed locally. Without liveness analysis, leaving stack roots uninitialized seems unwise, since gc points are not entirely predictable from the IR. On 2007-09-12, at 13:53, Chris Lattner wr

[llvm-commits] [llvm] r41881 - in /llvm/trunk/examples: BrainF/ BrainF/BrainF.cpp BrainF/BrainF.h BrainF/BrainFDriver.cpp BrainF/Makefile Makefile

2007-09-12 Thread Chris Lattner
Author: lattner Date: Wed Sep 12 13:24:00 2007 New Revision: 41881 URL: http://llvm.org/viewvc/llvm-project?rev=41881&view=rev Log: add a new BF->LLVM translator, contributed by Sterling Stein. Added: llvm/trunk/examples/BrainF/ llvm/trunk/examples/BrainF/BrainF.cpp llvm/trunk/example

Re: [llvm-commits] BrainF compiler

2007-09-12 Thread Chris Lattner
On Sep 11, 2007, at 7:58 PM, S3 wrote: > > 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

Re: [llvm-commits] [llvm] r41879 - in /llvm/trunk: docs/GarbageCollection.html lib/Transforms/Scalar/LowerGC.cpp

2007-09-12 Thread Chris Lattner
On Sep 12, 2007, at 11:14 AM, Gordon Henriksen wrote: > Hm. Are you sure this is wise? I realize my patch didn't provide > root initialization, but I have that fixed locally. Without > liveness analysis, leaving stack roots uninitialized seems unwise, > since gc points are not entirely predic

Re: [llvm-commits] Garbage collection patch series

2007-09-12 Thread Chris Lattner
Hi Gordon, FYI, I haven't forgotten about this patch set. However, on the verge of LLVM 2.1, I think it's best to wait until the beginning of the next release cycle. I will try to dive into these in the next week or two. -Chris On Sep 3, 2007, at 11:18 PM, Gordon Henriksen wrote: > As f

[llvm-commits] [llvm-gcc-4.0] r41882 - in /llvm-gcc-4.0/trunk/gcc: config/darwin.h llvm-backend.cpp varasm.c

2007-09-12 Thread Bill Wendling
Author: void Date: Wed Sep 12 13:55:13 2007 New Revision: 41882 URL: http://llvm.org/viewvc/llvm-project?rev=41882&view=rev Log: Alias definitions aren't supported on some platforms. Create a flag (TARGET_DOES_NOT_SUPPORT_ALIAS_DEFINITIONS) that indicates this and stops us from creating aliases.

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

2007-09-12 Thread Bill Wendling
Author: void Date: Wed Sep 12 13:59:44 2007 New Revision: 41883 URL: http://llvm.org/viewvc/llvm-project?rev=41883&view=rev Log: Port of r41882: Alias definitions aren't supported on some platforms. Create a flag (TARGET_DOES_NOT_SUPPORT_ALIAS_DEFINITIONS) that indicates this and stops us from c

Re: [llvm-commits] Garbage collection patch series

2007-09-12 Thread Gordon Henriksen
Of course. I didn't expect these changes to hit SVN until early October. On 2007-09-12, at 14:48, Chris Lattner wrote: Hi Gordon, FYI, I haven't forgotten about this patch set. However, on the verge of LLVM 2.1, I think it's best to wait until the beginning of the next release cycle. I will

Re: [llvm-commits] [llvm] r41879 - in /llvm/trunk: docs/GarbageCollection.html lib/Transforms/Scalar/LowerGC.cpp

2007-09-12 Thread Gordon Henriksen
On 2007-09-12, at 14:26, Chris Lattner wrote: On Sep 12, 2007, at 11:14 AM, Gordon Henriksen wrote: Hm. Are you sure this is wise? I realize my patch didn't provide root initialization, but I have that fixed locally. Without liveness analysis, leaving stack roots uninitialized seems unwise,

Re: [llvm-commits] [llvm] r41879 - in /llvm/trunk: docs/GarbageCollection.html lib/Transforms/Scalar/LowerGC.cpp

2007-09-12 Thread Chris Lattner
> Here, the FE must emit the highlighted null initializer separate > from the use, declaration, and scope of o; otherwise, a GC at a > safepoint corresponding to call @g will likely segfault the > collector. Of more concern, the FE must do so before any gc points, > which are implementation

[llvm-commits] [llvm-gcc-4.0] r41891 - /llvm-gcc-4.0/tags/llvm-gcc-1200-12/

2007-09-12 Thread Bill Wendling
Author: void Date: Wed Sep 12 17:18:57 2007 New Revision: 41891 URL: http://llvm.org/viewvc/llvm-project?rev=41891&view=rev Log: Creating llvm-gcc-1200-12 branch Added: llvm-gcc-4.0/tags/llvm-gcc-1200-12/ - copied from r41890, llvm-gcc-4.0/trunk/ ___

[llvm-commits] [llvm] r41892 - /llvm/tags/Apple/llvm-1200-12/

2007-09-12 Thread Bill Wendling
Author: void Date: Wed Sep 12 17:19:09 2007 New Revision: 41892 URL: http://llvm.org/viewvc/llvm-project?rev=41892&view=rev Log: Creating llvm-1200-12 branch Added: llvm/tags/Apple/llvm-1200-12/ - copied from r41891, llvm/trunk/ ___ llvm-comm

[llvm-commits] [llvm] r41893 - in /llvm/trunk: lib/CodeGen/LiveVariables.cpp test/CodeGen/PowerPC/2007-09-12-LiveIntervalsAssert.ll

2007-09-12 Thread Evan Cheng
Author: evancheng Date: Wed Sep 12 18:02:04 2007 New Revision: 41893 URL: http://llvm.org/viewvc/llvm-project?rev=41893&view=rev Log: Fixed a typo that's causing a missing kill marker. Added: llvm/trunk/test/CodeGen/PowerPC/2007-09-12-LiveIntervalsAssert.ll Modified: llvm/trunk/lib/CodeGe

[llvm-commits] [llvm-gcc-4.0] r41895 - /llvm-gcc-4.0/tags/llvm-gcc-1200-13/

2007-09-12 Thread Bill Wendling
Author: void Date: Wed Sep 12 18:11:16 2007 New Revision: 41895 URL: http://llvm.org/viewvc/llvm-project?rev=41895&view=rev Log: Creating llvm-gcc-1200-13 branch Added: llvm-gcc-4.0/tags/llvm-gcc-1200-13/ - copied from r41894, llvm-gcc-4.0/trunk/ ___

[llvm-commits] [llvm] r41896 - /llvm/tags/Apple/llvm-1200-13/

2007-09-12 Thread Bill Wendling
Author: void Date: Wed Sep 12 18:11:23 2007 New Revision: 41896 URL: http://llvm.org/viewvc/llvm-project?rev=41896&view=rev Log: Creating llvm-1200-13 branch Added: llvm/tags/Apple/llvm-1200-13/ - copied from r41895, llvm/trunk/ ___ llvm-comm

[llvm-commits] [llvm] r41897 - in /llvm/trunk: lib/Target/TargetSelectionDAG.td utils/TableGen/DAGISelEmitter.cpp utils/TableGen/DAGISelEmitter.h

2007-09-12 Thread Evan Cheng
Author: evancheng Date: Wed Sep 12 18:30:14 2007 New Revision: 41897 URL: http://llvm.org/viewvc/llvm-project?rev=41897&view=rev Log: Initial support for multi-result patterns: 1. [(set GR32:$dst, (add GR32:$src1, GR32:$src2)), (modify EFLAGS)] This indicates the source pattern expects the instru

[llvm-commits] [llvm] r41898 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h lib/CodeGen/SelectionDAG/SelectionDAG.cpp

2007-09-12 Thread Evan Cheng
Author: evancheng Date: Wed Sep 12 18:39:49 2007 New Revision: 41898 URL: http://llvm.org/viewvc/llvm-project?rev=41898&view=rev Log: Yet another getTargetNode variant. Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAG.h llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Modified:

[llvm-commits] [llvm] r41899 - /llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp

2007-09-12 Thread Evan Cheng
Author: evancheng Date: Wed Sep 12 18:45:46 2007 New Revision: 41899 URL: http://llvm.org/viewvc/llvm-project?rev=41899&view=rev Log: Remove dead code. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp URL: http://llv

[llvm-commits] [llvm] r41900 - /llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

2007-09-12 Thread Evan Cheng
Author: evancheng Date: Wed Sep 12 19:06:00 2007 New Revision: 41900 URL: http://llvm.org/viewvc/llvm-project?rev=41900&view=rev Log: Bug fixes. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp URL: http:

[llvm-commits] [llvm] r41901 - /llvm/trunk/include/llvm/Target/TargetInstrInfo.h

2007-09-12 Thread Evan Cheng
Author: evancheng Date: Wed Sep 12 19:16:29 2007 New Revision: 41901 URL: http://llvm.org/viewvc/llvm-project?rev=41901&view=rev Log: Added getNumDefs(). Modified: llvm/trunk/include/llvm/Target/TargetInstrInfo.h Modified: llvm/trunk/include/llvm/Target/TargetInstrInfo.h URL: http://llvm.or

[llvm-commits] [llvm-gcc-4.0] r41902 - /llvm-gcc-4.0/trunk/gcc/config/darwin.h

2007-09-12 Thread Evan Cheng
Author: evancheng Date: Wed Sep 12 19:18:50 2007 New Revision: 41902 URL: http://llvm.org/viewvc/llvm-project?rev=41902&view=rev Log: Mac OS X 64-bit is PIC only. Silently ignore -mdynamic-no-pic and -static. Modified: llvm-gcc-4.0/trunk/gcc/config/darwin.h Modified: llvm-gcc-4.0/trunk/gcc/c

[llvm-commits] [llvm-gcc-4.2] r41903 - /llvm-gcc-4.2/trunk/gcc/config/darwin.h

2007-09-12 Thread Evan Cheng
Author: evancheng Date: Wed Sep 12 19:22:25 2007 New Revision: 41903 URL: http://llvm.org/viewvc/llvm-project?rev=41903&view=rev Log: Merge -r41901:41902 svn/llvm-project/llvm-gcc-4.0/trunk Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.h Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.h URL:

[llvm-commits] [llvm-gcc-4.0] r41904 - /llvm-gcc-4.0/trunk/gcc/config/darwin.h

2007-09-12 Thread Evan Cheng
Author: evancheng Date: Wed Sep 12 19:53:28 2007 New Revision: 41904 URL: http://llvm.org/viewvc/llvm-project?rev=41904&view=rev Log: Only ignore -mdynamic-no-pic and -static for x86-64. Not true for ppc64. Modified: llvm-gcc-4.0/trunk/gcc/config/darwin.h Modified: llvm-gcc-4.0/trunk/gcc/con

[llvm-commits] [llvm-gcc-4.2] r41905 - /llvm-gcc-4.2/trunk/gcc/config/darwin.h

2007-09-12 Thread Evan Cheng
Author: evancheng Date: Wed Sep 12 19:55:26 2007 New Revision: 41905 URL: http://llvm.org/viewvc/llvm-project?rev=41905&view=rev Log: Merge -r41903:41904 svn/llvm-project/llvm-gcc-4.0/trunk Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.h Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.h URL:

Re: [llvm-commits] [llvm-gcc-4.0] r41902 - /llvm-gcc-4.0/trunk/gcc/config/darwin.h

2007-09-12 Thread Chris Lattner
On Sep 12, 2007, at 5:18 PM, Evan Cheng wrote: > Mac OS X 64-bit is PIC only. Silently ignore -mdynamic-no-pic and - > static. Hi Evan, This is not obvious, can you please add this as a comment above LLVM_SET_TARGET_OPTIONS? Thanks, -Chris > Modified: > llvm-gcc-4.0/trunk/gcc/config/

Re: [llvm-commits] [llvm] r41897 - in /llvm/trunk: lib/Target/TargetSelectionDAG.td utils/TableGen/DAGISelEmitter.cpp utils/TableGen/DAGISelEmitter.h

2007-09-12 Thread Chris Lattner
> Initial support for multi-result patterns: > 1. > [(set GR32:$dst, (add GR32:$src1, GR32:$src2)), > (modify EFLAGS)] > This indicates the source pattern expects the instruction would > produce 2 values. The first is the result of the addition. The > second is an implicit definition in regist

Re: [llvm-commits] [llvm] r41897 - in /llvm/trunk: lib/Target/TargetSelectionDAG.td utils/TableGen/DAGISelEmitter.cpp utils/TableGen/DAGISelEmitter.h

2007-09-12 Thread Evan Cheng
On Sep 12, 2007, at 6:00 PM, Chris Lattner wrote: >> Initial support for multi-result patterns: >> 1. >> [(set GR32:$dst, (add GR32:$src1, GR32:$src2)), >> (modify EFLAGS)] >> This indicates the source pattern expects the instruction would >> produce 2 values. The first is the result of the addit

[llvm-commits] [llvm-gcc-4.0] r41909 - /llvm-gcc-4.0/trunk/gcc/config/darwin.h

2007-09-12 Thread Evan Cheng
Author: evancheng Date: Wed Sep 12 20:45:44 2007 New Revision: 41909 URL: http://llvm.org/viewvc/llvm-project?rev=41909&view=rev Log: Obviously I can't read my own code. Modified: llvm-gcc-4.0/trunk/gcc/config/darwin.h Modified: llvm-gcc-4.0/trunk/gcc/config/darwin.h URL: http://llvm.org/vi

[llvm-commits] [llvm-gcc-4.2] r41910 - /llvm-gcc-4.2/trunk/gcc/config/darwin.h

2007-09-12 Thread Evan Cheng
Author: evancheng Date: Wed Sep 12 20:46:36 2007 New Revision: 41910 URL: http://llvm.org/viewvc/llvm-project?rev=41910&view=rev Log: Merge -r41908:41909 svn/llvm-project/llvm-gcc-4.0/trunk Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.h Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.h URL:

[llvm-commits] [test-suite] r41911 - /test-suite/branches/release_21/

2007-09-12 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 12 23:24:31 2007 New Revision: 41911 URL: http://llvm.org/viewvc/llvm-project?rev=41911&view=rev Log: Creating 2.1 release branch. Added: test-suite/branches/release_21/ ___ llvm-commits mailing list llvm-commits@cs.u

[llvm-commits] [test-suite] r41912 - /test-suite/branches/release_21/trunk/

2007-09-12 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 12 23:26:13 2007 New Revision: 41912 URL: http://llvm.org/viewvc/llvm-project?rev=41912&view=rev Log: Creating release 2.1 branch. Added: test-suite/branches/release_21/trunk/ - copied from r41911, test-suite/trunk/ ___

[llvm-commits] [llvm] r41913 - /llvm/branches/release_21/

2007-09-12 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 12 23:30:00 2007 New Revision: 41913 URL: http://llvm.org/viewvc/llvm-project?rev=41913&view=rev Log: 2.1 release branch Added: llvm/branches/release_21/ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://l

[llvm-commits] [llvm] r41914 - /llvm/branches/release_21/trunk/

2007-09-12 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 12 23:30:54 2007 New Revision: 41914 URL: http://llvm.org/viewvc/llvm-project?rev=41914&view=rev Log: 2.1 release branch Added: llvm/branches/release_21/trunk/ - copied from r41913, llvm/trunk/ ___ llvm-commits

[llvm-commits] [test-suite] r41915 - /test-suite/branches/release_21/trunk/

2007-09-12 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 12 23:32:21 2007 New Revision: 41915 URL: http://llvm.org/viewvc/llvm-project?rev=41915&view=rev Log: Trying to get release branch right without trunk subdir Removed: test-suite/branches/release_21/trunk/ ___ llvm-com

[llvm-commits] [test-suite] r41916 - /test-suite/branches/release_21/trunk/

2007-09-12 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 12 23:33:00 2007 New Revision: 41916 URL: http://llvm.org/viewvc/llvm-project?rev=41916&view=rev Log: Creating 2.1 release branch Added: test-suite/branches/release_21/trunk/ - copied from r41915, test-suite/trunk/

[llvm-commits] [test-suite] r41917 - /test-suite/branches/release_21/

2007-09-12 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 12 23:37:02 2007 New Revision: 41917 URL: http://llvm.org/viewvc/llvm-project?rev=41917&view=rev Log: Removing branch. Removed: test-suite/branches/release_21/ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu ht

[llvm-commits] [test-suite] r41918 - /test-suite/branches/release_21/

2007-09-12 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 12 23:37:15 2007 New Revision: 41918 URL: http://llvm.org/viewvc/llvm-project?rev=41918&view=rev Log: Creating 2.1 release branch Added: test-suite/branches/release_21/ - copied from r41917, test-suite/trunk/ __

[llvm-commits] [llvm] r41919 - /llvm/branches/release_21/

2007-09-12 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 12 23:37:56 2007 New Revision: 41919 URL: http://llvm.org/viewvc/llvm-project?rev=41919&view=rev Log: Removing 2.1 branch. Removed: llvm/branches/release_21/ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http

[llvm-commits] [llvm] r41920 - /llvm/branches/release_21/

2007-09-12 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 12 23:38:30 2007 New Revision: 41920 URL: http://llvm.org/viewvc/llvm-project?rev=41920&view=rev Log: Creating 2.1 release branch. Added: llvm/branches/release_21/ - copied from r41919, llvm/trunk/ ___ llvm-comm

[llvm-commits] [llvm-gcc-4.0] r41921 - /llvm-gcc-4.0/branches/release_21/

2007-09-12 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 12 23:39:57 2007 New Revision: 41921 URL: http://llvm.org/viewvc/llvm-project?rev=41921&view=rev Log: Create 2.1 release branch. Added: llvm-gcc-4.0/branches/release_21/ - copied from r41920, llvm-gcc-4.0/trunk/ ___

[llvm-commits] [llvm-gcc-4.2] r41922 - /llvm-gcc-4.2/branches/release_21/

2007-09-12 Thread Tanya Lattner
Author: tbrethou Date: Wed Sep 12 23:40:30 2007 New Revision: 41922 URL: http://llvm.org/viewvc/llvm-project?rev=41922&view=rev Log: Create 2.1 release branch. Added: llvm-gcc-4.2/branches/release_21/ - copied from r41921, llvm-gcc-4.2/trunk/ ___

[llvm-commits] [llvm] r41923 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

2007-09-12 Thread Chris Lattner
Author: lattner Date: Thu Sep 13 01:09:48 2007 New Revision: 41923 URL: http://llvm.org/viewvc/llvm-project?rev=41923&view=rev Log: Fix build problems on Cygwin (PR1652), patch by Patrick Walton. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Modified: llvm/trunk/lib/CodeGen

[llvm-commits] [llvm] r41924 - /llvm/trunk/include/llvm/ADT/APFloat.h

2007-09-12 Thread Chris Lattner
Author: lattner Date: Thu Sep 13 01:15:57 2007 New Revision: 41924 URL: http://llvm.org/viewvc/llvm-project?rev=41924&view=rev Log: Make single-argument ctors explicit to avoid tricky bugs :) Modified: llvm/trunk/include/llvm/ADT/APFloat.h Modified: llvm/trunk/include/llvm/ADT/APFloat.h URL:

[llvm-commits] [llvm] r41925 - /llvm/trunk/include/llvm/Type.h

2007-09-12 Thread Chris Lattner
Author: lattner Date: Thu Sep 13 01:18:04 2007 New Revision: 41925 URL: http://llvm.org/viewvc/llvm-project?rev=41925&view=rev Log: remove dead enum value. Modified: llvm/trunk/include/llvm/Type.h Modified: llvm/trunk/include/llvm/Type.h URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/i