Re: [llvm-commits] CVS: llvm/lib/CodeGen/Selection DAG/DAGCombiner.cpp

2007-06-29 Thread Duncan Sands
Hi, > >>> It seems like folding undef/X to undef isn't safe either though, here is my understanding of how to fold undef. I hope it clarifies this confusing area. Of course, I could be confused myself but I hope not :) (1) When is it OK to fold "y=foo(undef)" to "y=undef"? I claim that it is

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

2007-06-29 Thread Duncan Sands
Hi Evan, > +/// propagateEHRegister - The specified EH register is required in a > successor > +/// of the EH landing pad. Propagate it (by adding it to livein) to all the > +/// blocks in the paths between the landing pad and the specified block. thanks for this fix. For the moment we don't re

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

2007-06-29 Thread Gordon Henriksen
On 2007-06-28, at 23:37, David A. Greene wrote: On Thursday 28 June 2007 21:51, Nick Lewycky wrote: David Greene wrote: +// Cray [dag]: Must recompute end() each iteration because it may Please don't mark the comments as being from Cray. Just write the comment as a standard explanatio

[llvm-commits] CVS: llvm/Makefile.rules

2007-06-29 Thread Reid Spencer
Changes in directory llvm: Makefile.rules updated: 1.437 -> 1.438 --- Log message: Add a missing . --- Diffs of the changes: (+1 -1) Makefile.rules |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/Makefile.rules diff -u llvm/Makefile.rules:1.437 llvm/Makefile.rules:1

Re: [llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-06-29 Thread Chris Lattner
> Add a default parameter to a SmallVector constructor to allow it to > be called with just an initial length value, just like in std::vector. Ok. Should this be marked 'explicit'? -Chris > > --- > Diffs of the changes: (+1 -1) > > SmallVector.h |2 +- > 1 files changed, 1 insertion(+), 1

Re: [llvm-commits] CVS: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp

2007-06-29 Thread Tanya Lattner
Should this be added as a regression test? -Tanya On Jun 27, 2007, at 7:00 PM, Sheng Zhou wrote: > Chris, > > Attached is the testcase, which will get: > > opt: /developer/home2/zsth/llvm-gcc-dev/HEAD/llvm/llvm/lib/VMCore/ > Constants.cpp:1559: static llvm::Constant* > llvm::ConstantExpr::get

[llvm-commits] [java] r20000 - in /java/trunk: include/llvm/Java/Bytecode.h include/llvm/Java/ClassFile.h lib/ClassFile/ClassFile.cpp lib/Compiler/Compiler.cpp lib/Compiler/Locals.cpp lib/Compiler/Ope

2007-06-29 Thread Alkis Evlogimenos
Author: alkis Date: Wed Feb 2 10:26:54 2005 New Revision: 2 URL: http://llvm.org/viewvc/llvm-project?rev=2&view=rev Log: Make llvm-java compile on Windows. Patch contributed by Jeff Cohen! Modified: java/trunk/include/llvm/Java/Bytecode.h (contents, props changed) java/trunk/in

[llvm-commits] [llvm] r37807 - /llvm/trunk/CREDITS.TXT

2007-06-29 Thread John Criswell
Author: criswell Date: Fri Jun 29 13:24:05 2007 New Revision: 37807 URL: http://llvm.org/viewvc/llvm-project?rev=37807&view=rev Log: Updated my entry as a test commit. Removed QMTest (it is long gone). Acknowledge the fleeting'ness of my original autoconf work. Mention that I fixed some bugs. Mod

[llvm-commits] [test-suite] r37808 - /test-suite/trunk/README.txt

2007-06-29 Thread Anton Korobeynikov
Author: asl Date: Fri Jun 29 13:35:56 2007 New Revision: 37808 URL: http://llvm.org/viewvc/llvm-project?rev=37808&view=rev Log: Test commit Modified: test-suite/trunk/README.txt Modified: test-suite/trunk/README.txt URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/README.txt?rev=37

[llvm-commits] [llvm] r37809 - /llvm/branches/SVA/README.txt

2007-06-29 Thread John Criswell
Author: criswell Date: Fri Jun 29 14:04:53 2007 New Revision: 37809 URL: http://llvm.org/viewvc/llvm-project?rev=37809&view=rev Log: Test commit on SVA branch. Modified: llvm/branches/SVA/README.txt Modified: llvm/branches/SVA/README.txt URL: http://llvm.org/viewvc/llvm-project/llvm/branche

[llvm-commits] Warnings

2007-06-29 Thread Anton Korobeynikov
Hello, Everyone. I'm getting these warnings on trunk: src/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp: In member function `bool ::bu_ls_rr_sort::operator()(const llvm::SUnit*, const llvm::SUnit*) const': src/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp:618: warning: unused variable 'LIsTarge

[llvm-commits] [llvm] r37811 - /llvm/trunk/docs/GettingStarted.html

2007-06-29 Thread John Criswell
Author: criswell Date: Fri Jun 29 14:12:31 2007 New Revision: 37811 URL: http://llvm.org/viewvc/llvm-project?rev=37811&view=rev Log: Applied Reid's patch. Long live Subversion! Modified: llvm/trunk/docs/GettingStarted.html Modified: llvm/trunk/docs/GettingStarted.html URL: http://llvm.org/

[llvm-commits] [llvm] r37812 - /llvm/trunk/utils/NewNightlyTest.pl

2007-06-29 Thread John Criswell
Author: criswell Date: Fri Jun 29 14:12:50 2007 New Revision: 37812 URL: http://llvm.org/viewvc/llvm-project?rev=37812&view=rev Log: Applied Reid's patch. Long live Subversion! Modified: llvm/trunk/utils/NewNightlyTest.pl Modified: llvm/trunk/utils/NewNightlyTest.pl URL: http://llvm.org/vi

[llvm-commits] [llvm] r37810 - /llvm/branches/SVA/README.txt

2007-06-29 Thread John Criswell
Author: criswell Date: Fri Jun 29 14:07:03 2007 New Revision: 37810 URL: http://llvm.org/viewvc/llvm-project?rev=37810&view=rev Log: Undo previous commit. Modified: llvm/branches/SVA/README.txt Modified: llvm/branches/SVA/README.txt URL: http://llvm.org/viewvc/llvm-project/llvm/branches/SVA

Re: [llvm-commits] Warnings

2007-06-29 Thread David A. Greene
On Friday 29 June 2007 14:04, Anton Korobeynikov wrote: > Hello, Everyone. > > I'm getting these warnings on trunk: > > src/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp: In member function > `bool ::bu_ls_rr_sort::operator()(const llvm::SUnit*, const > llvm::SUnit*) const': > src/lib/CodeGen/Sele

Re: [llvm-commits] CVS: llvm/include/llvm/CodeGen/CallingConvLower.h SelectionDAG.h SelectionDAGNodes.h ValueTypes.h

2007-06-29 Thread Dan Gohman
>> >> I notice that several places use !MVT::isExtendedValueType(VT). >> Please add MVT::isSimpleValueType() After making a different change to TargetLowering.h following the review feedback, there are fewer of these. Fewer uses of isExtendedVT are negated than not now. I'd prefer to avoid having

Re: [llvm-commits] Warnings

2007-06-29 Thread David A. Greene
On Friday 29 June 2007 14:04, Anton Korobeynikov wrote: > Hello, Everyone. > > I'm getting these warnings on trunk: > > src/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp: In member function > `bool ::bu_ls_rr_sort::operator()(const llvm::SUnit*, const > llvm::SUnit*) const': > src/lib/CodeGen/Sele

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

2007-06-29 Thread Dan Gohman
> Duncan pointed out that I confused myself. If something is undef, we > can choose to pick any specific value for the undef to pick the > cancellation. Thanks Chris and Duncan for explaining this. I'll submit a fix for the DAGCombiner changes accordingly. Dan -- Dan Gohman, Cray Inc.

Re: [llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp LegalizeDAG.cpp SelectionDAG.cpp SelectionDAGISel.cpp TargetLowering.cpp

2007-06-29 Thread Dan Gohman
>> Just as there isn't a special ADD node kind for vectors -- just an ADD >> kind with nodes that can have a vector ValueType, ConstantFP can also >> be "vectorized". A ConstantFP with a vector ValueType is a vector >> constant, >> equivalent to what is currently represented as a splat BUILD_VECT

Re: [llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-06-29 Thread Dan Gohman
>> Add a default parameter to a SmallVector constructor to allow it to >> be called with just an initial length value, just like in std::vector. > > Ok. > > Should this be marked 'explicit'? Yep. Good catch. Dan -- Dan Gohman, Cray Inc. ___ llvm-com

[llvm-commits] [llvm] r37813 - /llvm/trunk/docs/GettingStarted.html

2007-06-29 Thread Anton Korobeynikov
Author: asl Date: Fri Jun 29 15:56:49 2007 New Revision: 37813 URL: http://llvm.org/viewvc/llvm-project?rev=37813&view=rev Log: Fix a typo Modified: llvm/trunk/docs/GettingStarted.html Modified: llvm/trunk/docs/GettingStarted.html URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/Get

Re: [llvm-commits] [llvm] r37813 - /llvm/trunk/docs/GettingStarted.html

2007-06-29 Thread Chris Lattner
On Jun 29, 2007, at 1:56 PM, Anton Korobeynikov wrote: > Author: asl > Date: Fri Jun 29 15:56:49 2007 > New Revision: 37813 > > URL: http://llvm.org/viewvc/llvm-project?rev=37813&view=rev > Log: > Fix a typo > > Modified: > llvm/trunk/docs/GettingStarted.html > > Modified: llvm/trunk/docs/Get

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

2007-06-29 Thread Evan Cheng
Author: evancheng Date: Fri Jun 29 16:36:04 2007 New Revision: 37814 URL: http://llvm.org/viewvc/llvm-project?rev=37814&view=rev Log: Fix a vector FP constant CSE bug. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cp

[llvm-commits] [llvm] r37815 - /llvm/trunk/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll

2007-06-29 Thread Evan Cheng
Author: evancheng Date: Fri Jun 29 16:40:30 2007 New Revision: 37815 URL: http://llvm.org/viewvc/llvm-project?rev=37815&view=rev Log: New test. Added: llvm/trunk/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll Added: llvm/trunk/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll URL: http

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

2007-06-29 Thread David Greene
Author: greened Date: Fri Jun 29 16:42:03 2007 New Revision: 37816 URL: http://llvm.org/viewvc/llvm-project?rev=37816&view=rev Log: Remove unused variables. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cp

[llvm-commits] [llvm] r37817 - /llvm/trunk/docs/GettingStarted.html

2007-06-29 Thread Anton Korobeynikov
Author: asl Date: Fri Jun 29 16:44:14 2007 New Revision: 37817 URL: http://llvm.org/viewvc/llvm-project?rev=37817&view=rev Log: Another typo Modified: llvm/trunk/docs/GettingStarted.html Modified: llvm/trunk/docs/GettingStarted.html URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/G

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

2007-06-29 Thread Evan Cheng
Author: evancheng Date: Fri Jun 29 16:44:35 2007 New Revision: 37818 URL: http://llvm.org/viewvc/llvm-project?rev=37818&view=rev Log: Only do FNEG xform when the vector type is a floating point type. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Modified: llvm/trunk/lib/

[llvm-commits] [llvm] r37819 - /llvm/trunk/include/llvm/ADT/SmallVector.h

2007-06-29 Thread Dan Gohman
Author: djg Date: Fri Jun 29 17:16:25 2007 New Revision: 37819 URL: http://llvm.org/viewvc/llvm-project?rev=37819&view=rev Log: Add an explicit keyword. Thanks Chris! Modified: llvm/trunk/include/llvm/ADT/SmallVector.h Modified: llvm/trunk/include/llvm/ADT/SmallVector.h URL: http://llvm.org

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

2007-06-29 Thread Anton Korobeynikov
Changes in directory llvm-www: header.incl updated: 1.60 -> 1.61 --- Log message: Switch from cvsweb to ViewVC --- Diffs of the changes: (+1 -1) header.incl |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-www/header.incl diff -u llvm-www/header.incl:1.60 llvm-www/he

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

2007-06-29 Thread Anton Korobeynikov
Changes in directory llvm-www: www-index.html updated: 1.143 -> 1.144 --- Log message: Remove cvsweb link from here. SVNify it. --- Diffs of the changes: (+1 -1) www-index.html |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-www/www-index.html diff -u llvm-www/www-i

[llvm-commits] [llvm] r37820 - /llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp

2007-06-29 Thread Devang Patel
Author: dpatel Date: Fri Jun 29 18:11:49 2007 New Revision: 37820 URL: http://llvm.org/viewvc/llvm-project?rev=37820&view=rev Log: Preserve DominanceFrontier. Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnswitch.cpp URL: http://

[llvm-commits] [llvm] r37821 - /llvm/trunk/docs/GettingStarted.html

2007-06-29 Thread Anton Korobeynikov
Author: asl Date: Fri Jun 29 18:13:42 2007 New Revision: 37821 URL: http://llvm.org/viewvc/llvm-project?rev=37821&view=rev Log: Change CVS-style 'labels' to SVN 'tags' directory. Modified: llvm/trunk/docs/GettingStarted.html Modified: llvm/trunk/docs/GettingStarted.html URL: http://llvm.org

[llvm-commits] [llvm] r37822 - in /llvm/trunk: include/llvm/Analysis/LoopPass.h lib/Analysis/LoopPass.cpp

2007-06-29 Thread Devang Patel
Author: dpatel Date: Fri Jun 29 18:13:42 2007 New Revision: 37822 URL: http://llvm.org/viewvc/llvm-project?rev=37822&view=rev Log: Add loop info verification mechanism. Modified: llvm/trunk/include/llvm/Analysis/LoopPass.h llvm/trunk/lib/Analysis/LoopPass.cpp Modified: llvm/trunk/includ

[llvm-commits] [llvm] r37823 - /llvm/trunk/test/CodeGen/X86/2007-06-29-DAGCombinerBug.ll

2007-06-29 Thread Evan Cheng
Author: evancheng Date: Fri Jun 29 18:17:15 2007 New Revision: 37823 URL: http://llvm.org/viewvc/llvm-project?rev=37823&view=rev Log: New test. Added: llvm/trunk/test/CodeGen/X86/2007-06-29-DAGCombinerBug.ll Added: llvm/trunk/test/CodeGen/X86/2007-06-29-DAGCombinerBug.ll URL: http://llvm.or

[llvm-commits] [llvm] r37824 - /llvm/trunk/docs/GettingStarted.html

2007-06-29 Thread Anton Korobeynikov
Author: asl Date: Fri Jun 29 19:00:57 2007 New Revision: 37824 URL: http://llvm.org/viewvc/llvm-project?rev=37824&view=rev Log: Remove labels again Modified: llvm/trunk/docs/GettingStarted.html Modified: llvm/trunk/docs/GettingStarted.html URL: http://llvm.org/viewvc/llvm-project/llvm/trunk

[llvm-commits] [llvm] r37825 - /llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp

2007-06-29 Thread Evan Cheng
Author: evancheng Date: Fri Jun 29 19:10:37 2007 New Revision: 37825 URL: http://llvm.org/viewvc/llvm-project?rev=37825&view=rev Log: (For Chris): Fix failure where we rejected compiling stubs when lazy compilation is disabled. Modified: llvm/trunk/lib/ExecutionEngine/JIT/JITEmitter.cpp Mod

[llvm-commits] [llvm] r37826 - /llvm/trunk/CREDITS.TXT

2007-06-29 Thread Chris Lattner
Author: lattner Date: Sat Jun 30 01:53:56 2007 New Revision: 37826 URL: http://llvm.org/viewvc/llvm-project?rev=37826&view=rev Log: test commit Modified: llvm/trunk/CREDITS.TXT Modified: llvm/trunk/CREDITS.TXT URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CREDITS.TXT?rev=37826&r1=378

[llvm-commits] [llvm] r37827 - /llvm/trunk/CREDITS.TXT

2007-06-29 Thread Reid Spencer
Author: reid Date: Sat Jun 30 01:56:50 2007 New Revision: 37827 URL: http://llvm.org/viewvc/llvm-project?rev=37827&view=rev Log: Be slightly more explanatory about the work I've done on LLVM. Modified: llvm/trunk/CREDITS.TXT Modified: llvm/trunk/CREDITS.TXT URL: http://llvm.org/viewvc/llvm-