Re: [llvm-commits] [llvm] r42822 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp lib/Target/PowerPC/PPCISelLowe

2007-10-10 Thread Evan Cheng
On Oct 9, 2007, at 6:01 PM, Dale Johannesen wrote: == --- llvm/trunk/include/llvm/CodeGen/SelectionDAG.h (original) +++ llvm/trunk/include/llvm/CodeGen/SelectionDAG.h Tue Oct 9 20:01:31 2007 @@ -403,6 +403,8

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

2007-10-10 Thread Duncan Sands
Author: baldrick Date: Wed Oct 10 04:54:50 2007 New Revision: 42824 URL: http://llvm.org/viewvc/llvm-project?rev=42824view=rev Log: Correct swapped arguments to getConstant. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Modified:

[llvm-commits] RFC: internal label names

2007-10-10 Thread Dan Gohman
The attached patch changes the names of internal labels used by codegen. In place of the function number, which is a number that codegen itself assigns specifically for this purpose, it uses the (mangled) name of the function, which is already sufficiently unique. For example, what currently

Re: [llvm-commits] RFC: internal label names

2007-10-10 Thread Anton Korobeynikov
Dan, I saw this in another compiler and liked it. Does anyone here dislike it? Patch looks pretty neat for me. -- With best regards, Anton Korobeynikov. Faculty of Mathematics Mechanics, Saint Petersburg State University. ___ llvm-commits

[llvm-commits] [llvm] r42825 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2007-10-10 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 10 11:27:33 2007 New Revision: 42825 URL: http://llvm.org/viewvc/llvm-project?rev=42825view=rev Log: Renamed internal method Create of ImutAVLTree to CreateNode. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Modified:

Re: [llvm-commits] RFC: internal label names

2007-10-10 Thread Evan Cheng
My only concern is it won't look as pleasant if the function name is long. Evan On Oct 10, 2007, at 7:36 AM, Dan Gohman [EMAIL PROTECTED] wrote: The attached patch changes the names of internal labels used by codegen. In place of the function number, which is a number that codegen itself

[llvm-commits] SPARC: Cannot yet select: 0x8733e8: i32, i32 = sdivrem 0x870470, 0x870528

2007-10-10 Thread Gabor Greif
Recent changes broke this test: FAIL: /home/ggreif/llvm/test/CodeGen/Generic/BasicInstrs.llx Failed with signal(SIGABRT) at line 1 while running: llvm-upgrade /home/ggreif/llvm/test/CodeGen/Generic/BasicInstrs.llx | llvm-as | llc .text .align 16 .globl add

Re: [llvm-commits] RFC: internal label names

2007-10-10 Thread Chris Lattner
On Oct 10, 2007, at 9:33 AM, Evan Cheng wrote: My only concern is it won't look as pleasant if the function name is long. Which happens with C++ mangled names all the time :( a potentially solution to this (which may be over complex :) is to have two options: 1. if the name is short,

[llvm-commits] [llvm-gcc-4.0] r42827 - /llvm-gcc-4.0/tags/llvm-gcc-1200-18/

2007-10-10 Thread Bill Wendling
Author: void Date: Wed Oct 10 12:35:13 2007 New Revision: 42827 URL: http://llvm.org/viewvc/llvm-project?rev=42827view=rev Log: Creating llvm-gcc-1200-18 branch Added: llvm-gcc-4.0/tags/llvm-gcc-1200-18/ - copied from r42826, llvm-gcc-4.0/trunk/

[llvm-commits] [llvm] r42828 - /llvm/tags/Apple/llvm-1200-18/

2007-10-10 Thread Bill Wendling
Author: void Date: Wed Oct 10 12:35:19 2007 New Revision: 42828 URL: http://llvm.org/viewvc/llvm-project?rev=42828view=rev Log: Creating llvm-1200-18 branch Added: llvm/tags/Apple/llvm-1200-18/ - copied from r42827, llvm/trunk/ ___

Re: [llvm-commits] [llvm] r42822 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp lib/Target/PowerPC/PPCISelLowe

2007-10-10 Thread Dale Johannesen
On Oct 10, 2007, at 12:19 AM, Evan Cheng wrote: On Oct 9, 2007, at 6:01 PM, Dale Johannesen wrote: = = --- llvm/trunk/include/llvm/CodeGen/SelectionDAG.h (original) +++

[llvm-commits] [llvm] r42832 - /llvm/trunk/lib/Target/Sparc/SparcISelDAGToDAG.cpp

2007-10-10 Thread Chris Lattner
Author: lattner Date: Wed Oct 10 13:10:57 2007 New Revision: 42832 URL: http://llvm.org/viewvc/llvm-project?rev=42832view=rev Log: Fix CodeGen/Generic/BasicInstrs.llx on sparc by marking divrem illegal. Thanks to gabor for pointing this out! Modified:

[llvm-commits] [llvm] r42833 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2007-10-10 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 10 13:11:16 2007 New Revision: 42833 URL: http://llvm.org/viewvc/llvm-project?rev=42833view=rev Log: Added preliminary support for iterators in ImutAVLTree. Implemented ImutAVLTree::isEqual. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Modified:

[llvm-commits] CVS: llvm-www/developers.txt

2007-10-10 Thread Chris Lattner
Changes in directory llvm-www: developers.txt updated: 1.16 - 1.17 --- Log message: add teh ted --- Diffs of the changes: (+1 -0) developers.txt |1 + 1 files changed, 1 insertion(+) Index: llvm-www/developers.txt diff -u llvm-www/developers.txt:1.16 llvm-www/developers.txt:1.17 ---

[llvm-commits] CVS: llvm-www/img/PhotoTed.jpg

2007-10-10 Thread Chris Lattner
Changes in directory llvm-www/img: PhotoTed.jpg added (r1.1) --- Log message: add teh ted --- Diffs of the changes: (+0 -0) PhotoTed.jpg |0 1 files changed Index: llvm-www/img/PhotoTed.jpg ___ llvm-commits mailing list

Re: [llvm-commits] [llvm] r42822 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp lib/Target/PowerPC/PPCISelLowe

2007-10-10 Thread Dale Johannesen
On Oct 10, 2007, at 11:44 AM, Evan Cheng wrote: --- llvm/trunk/include/llvm/CodeGen/SelectionDAG.h (original) +++ llvm/trunk/include/llvm/CodeGen/SelectionDAG.h Tue Oct 9 20:01:31 2007 @@ -403,6 +403,8 @@ SDNode *getTargetNode(unsigned Opcode, MVT::ValueType VT,

Re: [llvm-commits] RFC: internal label names

2007-10-10 Thread Dan Gohman
My only concern is it won't look as pleasant if the function name is long. Which happens with C++ mangled names all the time :( a potentially solution to this (which may be over complex :) is to have two options: 1. if the name is short, print it as you propose. 2. if the name is

[llvm-commits] [llvm] r42835 - in /llvm/trunk/win32: Analysis/Analysis.vcproj Bitcode/Bitcode.vcproj CodeGen/CodeGen.vcproj Support/Support.vcproj Transforms/Transforms.vcproj VMCore/VMCore.vcproj llv

2007-10-10 Thread Hartmut Kaiser
Author: hkaiser Date: Wed Oct 10 14:50:09 2007 New Revision: 42835 URL: http://llvm.org/viewvc/llvm-project?rev=42835view=rev Log: Updated VC++ build system. Modified: llvm/trunk/win32/Analysis/Analysis.vcproj llvm/trunk/win32/Bitcode/Bitcode.vcproj

[llvm-commits] [llvm] r42837 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2007-10-10 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 10 15:44:21 2007 New Revision: 42837 URL: http://llvm.org/viewvc/llvm-project?rev=42837view=rev Log: Added some doxygen comments to a few methods of ImutAVLTree. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Modified:

[llvm-commits] [llvm] r42839 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2007-10-10 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 10 15:45:34 2007 New Revision: 42839 URL: http://llvm.org/viewvc/llvm-project?rev=42839view=rev Log: Removed spurious forward declaration to a structure that will no longer be used. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Modified:

Re: [llvm-commits] RFC: internal label names

2007-10-10 Thread Chris Lattner
On Oct 10, 2007, at 12:41 PM, Dan Gohman wrote: 1. if the name is short, print it as you propose. 2. if the name is long, print it with a number and optionally with a subset of the name (last 10 chars?) This could be implemented by just adding a new ivar like CurrentFunctionName that holds

[llvm-commits] [llvm] r42850 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2007-10-10 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 10 18:47:03 2007 New Revision: 42850 URL: http://llvm.org/viewvc/llvm-project?rev=42850view=rev Log: Added some doxygen comments to ImmutableSet. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h URL:

[llvm-commits] [llvm] r42847 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2007-10-10 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 10 18:32:01 2007 New Revision: 42847 URL: http://llvm.org/viewvc/llvm-project?rev=42847view=rev Log: Removed height of an AVL tree node from its Profile. This is implicitly captured by using the addresses of its children in the profile. Modified:

[llvm-commits] [llvm] r42851 - /llvm/trunk/include/llvm/ADT/ImmutableSet.h

2007-10-10 Thread Ted Kremenek
Author: kremenek Date: Wed Oct 10 19:14:49 2007 New Revision: 42851 URL: http://llvm.org/viewvc/llvm-project?rev=42851view=rev Log: Added iterators to ImmutableSet. Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h Modified: llvm/trunk/include/llvm/ADT/ImmutableSet.h URL:

[llvm-commits] [llvm] r42859 - in /llvm/trunk/include/llvm: Support/CFG.h Use.h

2007-10-10 Thread Chris Lattner
Author: lattner Date: Wed Oct 10 23:18:11 2007 New Revision: 42859 URL: http://llvm.org/viewvc/llvm-project?rev=42859view=rev Log: Add a new use_iterator::atEnd() method, which allows us to shrink pred_iterator down to a single ivar. Modified: llvm/trunk/include/llvm/Support/CFG.h