Re: [llvm-commits] [LLVMdev] Simplifing the handling of pre-legalize vector nodes

2007-05-23 Thread Chris Lattner
On May 23, 2007, at 8:56 AM, Dan Gohman wrote: > Ok, I now have a patch that implements this. It's a work in > progress, and > still rough in some areas (some details below), but it works well > enough > to allow the LLVM regression tests to pass on x86. I'm posting it > now so > that people

Re: [llvm-commits] Stub calls in Linux/PPC

2007-05-23 Thread Nate Begeman
On May 23, 2007, at 6:55 AM, Nicolas Geoffray wrote: Here's a patch to make stubs work in linux/ppc. I'll commit it if there's no objection. Chris: Just a question. I noticed on cvsweb that you wrote the lines: MCE.emitWordBE(0x9421ffe0); // stwu r1,-32(r1) MCE.emitWordBE(0x7d680

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2007-05-23 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.309 -> 1.310 --- Log message: Fix a typo that caused combiner to create mal-formed pre-indexed store where value store is the same as the base pointer. --- Diffs of the changes: (+6 -6) DAGCombiner.cpp | 12 ++

[llvm-commits] CVS: llvm/test/CodeGen/ARM/2007-05-23-BadPreIndexedStore.ll

2007-05-23 Thread Evan Cheng
Changes in directory llvm/test/CodeGen/ARM: 2007-05-23-BadPreIndexedStore.ll added (r1.1) --- Log message: Add a new test case. --- Diffs of the changes: (+34 -0) 2007-05-23-BadPreIndexedStore.ll | 34 ++ 1 files changed, 34 insertions(+) Index: llvm/test

Re: [llvm-commits] Patch for correct landing pad code emission

2007-05-23 Thread Anton Korobeynikov
Hello, > > while this patch works, I think it is suboptimal in some cases. > > I am still investigating how to avoid this suboptimality. I suggest > > this patch be put on hold for a day or two until I have finished. > > I don't think it can be improved at this point. However the patch > could

Re: [llvm-commits] Patch for correct landing pad code emission

2007-05-23 Thread Duncan Sands
Hi Anton, > while this patch works, I think it is suboptimal in some cases. > I am still investigating how to avoid this suboptimality. I suggest > this patch be put on hold for a day or two until I have finished. I don't think it can be improved at this point. However the patch could be a bit

Re: [llvm-commits] Patch for correct landing pad code emission

2007-05-23 Thread Anton Korobeynikov
Hello, Duncan. > while this patch works, I think it is suboptimal in some cases. Well, I agree. We need such bookkeeping only if we already caught an exception and want to rethrow it. Dunno, whether optimiser will kill such "suboptimality". -- With best regards, Anton Korobeynikov. Faculty of M

Re: [llvm-commits] Patch for correct landing pad code emission

2007-05-23 Thread Duncan Sands
Hi Anton, > Please find attached patch, which fixes LLVM's behaviour during code > emission in LPs. > > Currently AddLandingPad() function emits llvm.eh.exception only for > TRY_EXCEPT blocks. But sometimes (see, e.g. g++.dg/eh/unexpected1.C) gcc > generates code of form: > > try { > throw(); >

[llvm-commits] CVS: llvm/test/CodeGen/X86/test-pic-jtbl.ll

2007-05-23 Thread Dale Johannesen
Changes in directory llvm/test/CodeGen/X86: test-pic-jtbl.ll updated: 1.3 -> 1.4 --- Log message: tail merging shrinks this code a bit. Could do more in future. --- Diffs of the changes: (+3 -2) test-pic-jtbl.ll |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/

[llvm-commits] CVS: llvm/lib/CodeGen/BranchFolding.cpp

2007-05-23 Thread Dale Johannesen
Changes in directory llvm/lib/CodeGen: BranchFolding.cpp updated: 1.55 -> 1.56 --- Log message: Two tail merging improvements: When considering blocks with more than 2 predecessors, merge the block with the largest number of matching insns, rather than the first block found. Considering that 1

[llvm-commits] CVS: llvm/include/llvm/Analysis/Dominators.h

2007-05-23 Thread Devang Patel
Changes in directory llvm/include/llvm/Analysis: Dominators.h updated: 1.82 -> 1.83 --- Log message: Add dump() routines for debugging assistance. --- Diffs of the changes: (+3 -0) Dominators.h |3 +++ 1 files changed, 3 insertions(+) Index: llvm/include/llvm/Analysis/Dominators.h di

[llvm-commits] CVS: llvm/lib/VMCore/Dominators.cpp

2007-05-23 Thread Devang Patel
Changes in directory llvm/lib/VMCore: Dominators.cpp updated: 1.101 -> 1.102 --- Log message: Add dump() routines for debugging assistance. --- Diffs of the changes: (+14 -0) Dominators.cpp | 14 ++ 1 files changed, 14 insertions(+) Index: llvm/lib/VMCore/Dominators.cpp dif

[llvm-commits] CVS: llvm-www/demo/index.cgi

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/demo: index.cgi updated: 1.72 -> 1.73 --- Log message: Modify llvm-ld check --- Diffs of the changes: (+2 -2) index.cgi |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-www/demo/index.cgi diff -u llvm-www/demo/index.cgi:1.72 llvm-www

[llvm-commits] CVS: llvm-www/demo/index.cgi

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/demo: index.cgi updated: 1.71 -> 1.72 --- Log message: Switch to llvm-ld --- Diffs of the changes: (+5 -8) index.cgi | 13 + 1 files changed, 5 insertions(+), 8 deletions(-) Index: llvm-www/demo/index.cgi diff -u llvm-www/demo/index.cgi:1.71 ll

[llvm-commits] CVS: llvm-www/demo/index.cgi

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/demo: index.cgi updated: 1.70 -> 1.71 --- Log message: Demo uses 2.0 now. --- Diffs of the changes: (+2 -3) index.cgi |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) Index: llvm-www/demo/index.cgi diff -u llvm-www/demo/index.cgi:1.70 llvm-www/

[llvm-commits] CVS: llvm-www/demo/index.cgi

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/demo: index.cgi updated: 1.69 -> 1.70 --- Log message: Add some spacing --- Diffs of the changes: (+2 -1) index.cgi |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm-www/demo/index.cgi diff -u llvm-www/demo/index.cgi:1.69 llvm-www/demo/

Re: [llvm-commits] Regalloc Refactoring

2007-05-23 Thread David Greene
Chris Lattner wrote: > What did Evan ask for? Are you referring to the addrequired bit? Not sure what you mean by "addrequired bit." If I understand correctly, Evan wants me to create an infrastructure to allow pluggable coalescers. I'd rather not do that right now as I've got a ton of other t

[llvm-commits] CVS: llvm-www/demo/index.cgi

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/demo: index.cgi updated: 1.68 -> 1.69 --- Log message: Remove stacker for now. --- Diffs of the changes: (+2 -5) index.cgi |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) Index: llvm-www/demo/index.cgi diff -u llvm-www/demo/index.cgi:1.68 ll

[llvm-commits] CVS: llvm-www/header.incl

2007-05-23 Thread Chris Lattner
Changes in directory llvm-www: header.incl updated: 1.57 -> 1.58 --- Log message: 1.9 -> 2.0 --- Diffs of the changes: (+2 -2) header.incl |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-www/header.incl diff -u llvm-www/header.incl:1.57 llvm-www/header.incl:1.58

[llvm-commits] CVS: llvm-www/header.incl www-index.html

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www: header.incl updated: 1.56 -> 1.57 www-index.html updated: 1.141 -> 1.142 --- Log message: 2.0 Release --- Diffs of the changes: (+3 -2) header.incl|1 + www-index.html |4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) Index: llvm-www/hea

[llvm-commits] CVS: llvm-www/releases/index.html

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases: index.html updated: 1.35 -> 1.36 --- Log message: Fix 2.0 link --- Diffs of the changes: (+1 -1) index.html |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-www/releases/index.html diff -u llvm-www/releases/index.html:1.35 llvm

[llvm-commits] CVS: llvm-www/releases/index.html

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases: index.html updated: 1.34 -> 1.35 --- Log message: 2.0 release --- Diffs of the changes: (+3 -1) index.html |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm-www/releases/index.html diff -u llvm-www/releases/index.html:1.34 ll

[llvm-commits] CVS: llvm-www/releases/download.html

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases: download.html updated: 1.40 -> 1.41 --- Log message: 2.0 Release --- Diffs of the changes: (+20 -0) download.html | 20 1 files changed, 20 insertions(+) Index: llvm-www/releases/download.html diff -u llvm-www/releases/downlo

[llvm-commits] CVS: llvm-www/releases/2.0/docs/img/Debugging.gif libdeps.gif lines.gif objdeps.gif venusflytrap.jpg

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases/2.0/docs/img: Debugging.gif added (r1.1) libdeps.gif added (r1.1) lines.gif added (r1.1) objdeps.gif added (r1.1) venusflytrap.jpg added (r1.1) --- Log message: 2.0 Release docs --- Diffs of the changes: (+0 -0) Debugging.gif|0 libdeps.g

[llvm-commits] CVS: llvm-www/releases/2.0/docs/CommandGuide/man/

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases/2.0/docs/CommandGuide/man: --- Log message: Directory /var/cvs/llvm/llvm-www/releases/2.0/docs/CommandGuide/man added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits

[llvm-commits] CVS: llvm-www/releases/2.0/docs/CommandGuide/ps/

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases/2.0/docs/CommandGuide/ps: --- Log message: Directory /var/cvs/llvm/llvm-www/releases/2.0/docs/CommandGuide/ps added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits ma

[llvm-commits] CVS: llvm-www/releases/2.0/docs/CommandGuide/html/

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases/2.0/docs/CommandGuide/html: --- Log message: Directory /var/cvs/llvm/llvm-www/releases/2.0/docs/CommandGuide/html added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commit

[llvm-commits] CVS: llvm-www/releases/2.0/docs/img/

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases/2.0/docs/img: --- Log message: Directory /var/cvs/llvm/llvm-www/releases/2.0/docs/img added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@c

[llvm-commits] CVS: llvm-www/releases/2.0/docs/HistoricalNotes/

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases/2.0/docs/HistoricalNotes: --- Log message: Directory /var/cvs/llvm/llvm-www/releases/2.0/docs/HistoricalNotes added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits ma

[llvm-commits] CVS: llvm-www/releases/2.0/docs/CommandGuide/

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases/2.0/docs/CommandGuide: --- Log message: Directory /var/cvs/llvm/llvm-www/releases/2.0/docs/CommandGuide added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing

[llvm-commits] CVS: llvm-www/releases/2.0/docs/

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases/2.0/docs: --- Log message: Directory /var/cvs/llvm/llvm-www/releases/2.0/docs added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiuc.e

[llvm-commits] CVS: llvm-www/releases/2.0/llvm-2.0.tar.gz llvm-gcc4-2.0-ppc-darwin8.9.0.tar.gz llvm-gcc4-2.0-x86-darwin8.tar.gz llvm-gcc4-2.0-x86-linux-RHEL4.tar.gz llvm-gcc4-2.0-x86-mingw32.tar.bz2 l

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases/2.0: llvm-2.0.tar.gz added (r1.1) llvm-gcc4-2.0-ppc-darwin8.9.0.tar.gz added (r1.1) llvm-gcc4-2.0-x86-darwin8.tar.gz added (r1.1) llvm-gcc4-2.0-x86-linux-RHEL4.tar.gz added (r1.1) llvm-gcc4-2.0-x86-mingw32.tar.bz2 added (r1.1) llvm-gcc4-2.0.source.tar.gz ad

[llvm-commits] CVS: llvm-www/releases/2.0/

2007-05-23 Thread Tanya Lattner
Changes in directory llvm-www/releases/2.0: --- Log message: Directory /var/cvs/llvm/llvm-www/releases/2.0 added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://

[llvm-commits] Patch for correct landing pad code emission

2007-05-23 Thread Anton Korobeynikov
Hello, Everyone. Please find attached patch, which fixes LLVM's behaviour during code emission in LPs. Currently AddLandingPad() function emits llvm.eh.exception only for TRY_EXCEPT blocks. But sometimes (see, e.g. g++.dg/eh/unexpected1.C) gcc generates code of form: try { throw(); } finally {

Re: [llvm-commits] [LLVMdev] Simplifing the handling of pre-legalize vector nodes

2007-05-23 Thread Dan Gohman
Ok, I now have a patch that implements this. It's a work in progress, and still rough in some areas (some details below), but it works well enough to allow the LLVM regression tests to pass on x86. I'm posting it now so that people can see what I'm up to. On Wed, May 23, 2007 at 12:03:30AM -0700,

[llvm-commits] Fwd: [127591] Fix PR1404.

2007-05-23 Thread Devang Patel
Begin forwarded message: Date: May 23, 2007 8:31:01 AM PDT To: [EMAIL PROTECTED] Subject: [127591] Fix PR1404. Revision: 127591 Author: dpatel Date: 2007-05-23 08:31:00 -0700 (Wed, 23 May 2007) Log Message: --- Fix PR1404. Patch by Duncan Sands. Prune local values from LLVMValue

[llvm-commits] Stub calls in Linux/PPC

2007-05-23 Thread Nicolas Geoffray
Here's a patch to make stubs work in linux/ppc. I'll commit it if there's no objection. Chris: Just a question. I noticed on cvsweb that you wrote the lines: MCE.emitWordBE(0x9421ffe0); // stwu r1,-32(r1) MCE.emitWordBE(0x7d6802a6); // mflr r11 MCE.emitWordBE(0x91610028);

[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineModuleInfo.h

2007-05-23 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm/CodeGen: MachineModuleInfo.h updated: 1.14 -> 1.15 --- Log message: Mark all calls as "could throw", when exceptions are enabled. Emit necessary LP info too. This fixes PR1439: http://llvm.org/PR1439 --- Diffs of the changes: (+1 -0) MachineModuleIn

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

2007-05-23 Thread Anton Korobeynikov
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.452 -> 1.453 --- Log message: Mark all calls as "could throw", when exceptions are enabled. Emit necessary LP info too. This fixes PR1439: http://llvm.org/PR1439 --- Diffs of the changes: (+38 -33) Select

[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp MachineModuleInfo.cpp

2007-05-23 Thread Anton Korobeynikov
Changes in directory llvm/lib/CodeGen: DwarfWriter.cpp updated: 1.148 -> 1.149 MachineModuleInfo.cpp updated: 1.14 -> 1.15 --- Log message: Mark all calls as "could throw", when exceptions are enabled. Emit necessary LP info too. This fixes PR1439: http://llvm.org/PR1439 --- Diffs of the ch

[llvm-commits] [127543] From TOT: prevent exponential recursion in isNegatibleForFree

2007-05-23 Thread bwendlin
Revision: 127543 Author: bwendlin Date: 2007-05-23 01:01:23 -0700 (Wed, 23 May 2007) Log Message: --- >From TOT: prevent exponential recursion in isNegatibleForFree Modified Paths: -- apple-local/branches/llvm-leopard/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp M

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

2007-05-23 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.308 -> 1.309 --- Log message: prevent exponential recursion in isNegatibleForFree --- Diffs of the changes: (+9 -6) DAGCombiner.cpp | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) Inde

[llvm-commits] CVS: llvm/lib/CodeGen/IfConversion.cpp

2007-05-23 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: IfConversion.cpp updated: 1.11 -> 1.12 --- Log message: Preliminary iterative if-conversion support. --- Diffs of the changes: (+166 -96) IfConversion.cpp | 262 ++- 1 files changed, 166 insertions(+

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrInfo.cpp ARMInstrInfo.h

2007-05-23 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.cpp updated: 1.30 -> 1.31 ARMInstrInfo.h updated: 1.11 -> 1.12 --- Log message: Hooks for predication support. --- Diffs of the changes: (+39 -9) ARMInstrInfo.cpp | 41 + ARMInstrInfo.h |7

[llvm-commits] CVS: llvm/lib/Target/TargetInstrInfo.cpp

2007-05-23 Thread Evan Cheng
Changes in directory llvm/lib/Target: TargetInstrInfo.cpp updated: 1.30 -> 1.31 --- Log message: Rename a parameter. --- Diffs of the changes: (+4 -4) TargetInstrInfo.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib/Target/TargetInstrInfo.cpp diff -u l

[llvm-commits] CVS: llvm/include/llvm/Target/TargetInstrInfo.h

2007-05-23 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: TargetInstrInfo.h updated: 1.123 -> 1.124 --- Log message: Add a couple of target hooks for predication. --- Diffs of the changes: (+14 -1) TargetInstrInfo.h | 15 ++- 1 files changed, 14 insertions(+), 1 deletion(-) Index: llvm

[llvm-commits] [127542] add a note

2007-05-23 Thread clattner
Revision: 127542 Author: clattner Date: 2007-05-23 00:02:15 -0700 (Wed, 23 May 2007) Log Message: --- add a note Modified Paths: -- apple-local/branches/llvm/README.LLVM Modified: apple-local/branches/llvm/README.LLVM