Re: [llvm-commits] [llvm] r45130 - in /llvm/trunk: lib/Target/CellSPU/SPUISelDAGToDAG.cpp lib/Target/CellSPU/SPUISelLowering.cpp lib/Target/CellSPU/SPUInstrInfo.cpp lib/Target/CellSPU/SPUInstrInfo.td

2007-12-18 Thread Evan Cheng
Hi Scott, There are some compilation warnings. Please fix! SPUISelLowering.cpp: In function 'llvm::SDOperand LowerEXTRACT_VECTOR_ELT(llvm::SDOperand, llvm::SelectionDAG&)': SPUISelLowering.cpp:2103: warning: 'prefslot_begin' may be used uninitialized in this function SPUISelLowering.cpp:2103:

[llvm-commits] [llvm] r45157 - in /llvm/trunk: lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp test/CodeGen/X86/2007-12-16-BURRSchedCrash.ll

2007-12-18 Thread Evan Cheng
Author: evancheng Date: Tue Dec 18 02:42:10 2007 New Revision: 45157 URL: http://llvm.org/viewvc/llvm-project?rev=45157&view=rev Log: FIX for PR1799: When a load is unfolded from an instruction, check if it is a new node. If not, do not create a new SUnit. Added: llvm/trunk/test/CodeGen/X86/

[llvm-commits] [llvm] r45158 - in /llvm/trunk: lib/Target/README.txt lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll

2007-12-18 Thread Christopher Lamb
Author: clamb Date: Tue Dec 18 03:34:41 2007 New Revision: 45158 URL: http://llvm.org/viewvc/llvm-project?rev=45158&view=rev Log: Fold certain additions through selects (and their compares) so as to eliminate subtractions. This code is often produced by the SMAX expansion in SCEV. This implement

Re: [llvm-commits] [llvm] r45108 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp lib/Transforms/Utils/InlineFunction.cpp lib/VMCore/Verifier.cpp test/CodeGen/Generic/2007-12-17-InvokeA

2007-12-18 Thread Duncan Sands
> Woot, thanks Duncan. Please update langref if it says invoke (asm) > is invalid. It doesn't. Ciao, Duncan. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Re: [llvm-commits] [llvm] r45141 - /llvm/trunk/lib/Target/README.txt

2007-12-18 Thread Christopher Lamb
Hopefully fixed by http://lists.cs.uiuc.edu/pipermail/llvm-commits/ Week-of-Mon-20071217/056446.html This is my first attempt hacking on Transforms, so some of the idioms were a little new to me. Hope the patch looks OK! =) On Dec 17, 2007, at 5:19 PM, Chris Lattner wrote: Author: lattner

[llvm-commits] [llvm] r45159 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll

2007-12-18 Thread Christopher Lamb
Author: clamb Date: Tue Dec 18 03:45:40 2007 New Revision: 45159 URL: http://llvm.org/viewvc/llvm-project?rev=45159&view=rev Log: Fix typos. Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp llvm/trunk/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll Modified: llv

[llvm-commits] [llvm] r45160 - in /llvm/trunk: include/llvm/Function.h include/llvm/Instructions.h include/llvm/Support/CallSite.h lib/Transforms/IPO/PruneEH.cpp lib/Transforms/Scalar/InstructionCombi

2007-12-18 Thread Duncan Sands
Author: baldrick Date: Tue Dec 18 03:59:50 2007 New Revision: 45160 URL: http://llvm.org/viewvc/llvm-project?rev=45160&view=rev Log: Rename isNoReturn to doesNotReturn, and isNoUnwind to doesNotThrow. Modified: llvm/trunk/include/llvm/Function.h llvm/trunk/include/llvm/Instructions.h

Re: [llvm-commits] [llvm] r45108 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp lib/Transforms/Utils/InlineFunction.cpp lib/VMCore/Verifier.cpp test/CodeGen/Generic/2007-12-17-InvokeA

2007-12-18 Thread Duncan Sands
> Woot, thanks Duncan. Please update langref if it says invoke (asm) > is invalid. It doesn't. Ciao, Duncan. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

[llvm-commits] [llvm] r45161 - /llvm/trunk/lib/Target/X86/README.txt

2007-12-18 Thread Chris Lattner
Author: lattner Date: Tue Dec 18 10:48:14 2007 New Revision: 45161 URL: http://llvm.org/viewvc/llvm-project?rev=45161&view=rev Log: add an obvious load folding missed optzn. Modified: llvm/trunk/lib/Target/X86/README.txt Modified: llvm/trunk/lib/Target/X86/README.txt URL: http://llvm.org/vi

[llvm-commits] [llvm] r45162 - /llvm/trunk/include/llvm/Bitcode/Serialize.h

2007-12-18 Thread Ted Kremenek
Author: kremenek Date: Tue Dec 18 12:25:55 2007 New Revision: 45162 URL: http://llvm.org/viewvc/llvm-project?rev=45162&view=rev Log: Added some sectioning comments to Serialize.h. Added additional serialization functors for use with std::foreach. Modified: llvm/trunk/include/llvm/Bitcode/Seri

Re: [llvm-commits] [llvm] r45158 - in /llvm/trunk: lib/Target/README.txt lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll

2007-12-18 Thread Chris Lattner
On Dec 18, 2007, at 1:34 AM, Christopher Lamb wrote: > Author: clamb > Date: Tue Dec 18 03:34:41 2007 > New Revision: 45158 > > URL: http://llvm.org/viewvc/llvm-project?rev=45158&view=rev > Log: > Fold certain additions through selects (and their compares) so as > to eliminate subtractions. Thi

[llvm-commits] [llvm] r45163 - in /llvm/trunk: include/llvm/InlineAsm.h lib/VMCore/InlineAsm.cpp

2007-12-18 Thread Chris Lattner
Author: lattner Date: Tue Dec 18 13:04:24 2007 New Revision: 45163 URL: http://llvm.org/viewvc/llvm-project?rev=45163&view=rev Log: remove a dead annotation Modified: llvm/trunk/include/llvm/InlineAsm.h llvm/trunk/lib/VMCore/InlineAsm.cpp Modified: llvm/trunk/include/llvm/InlineAsm.h URL

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

2007-12-18 Thread Evan Cheng
Author: evancheng Date: Tue Dec 18 13:06:30 2007 New Revision: 45164 URL: http://llvm.org/viewvc/llvm-project?rev=45164&view=rev Log: Also print alignment and volatileness. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionD

[llvm-commits] [llvm] r45165 - in /llvm/trunk: include/llvm/InlineAsm.h include/llvm/System/Mutex.h include/llvm/System/Path.h include/llvm/System/TimeValue.h lib/System/Mutex.cpp lib/System/Path.cpp

2007-12-18 Thread Chris Lattner
Author: lattner Date: Tue Dec 18 13:15:48 2007 New Revision: 45165 URL: http://llvm.org/viewvc/llvm-project?rev=45165&view=rev Log: remove obviously dead uses of IncludeFile. Modified: llvm/trunk/include/llvm/InlineAsm.h llvm/trunk/include/llvm/System/Mutex.h llvm/trunk/include/llvm/S

[llvm-commits] [llvm] r45166 - /llvm/trunk/utils/buildit/build_llvm

2007-12-18 Thread Bill Wendling
Author: void Date: Tue Dec 18 13:21:52 2007 New Revision: 45166 URL: http://llvm.org/viewvc/llvm-project?rev=45166&view=rev Log: Ignore shell scripts when doing "dsymutil" call. Modified: llvm/trunk/utils/buildit/build_llvm Modified: llvm/trunk/utils/buildit/build_llvm URL: http://llvm.org/

[llvm-commits] [llvm] r45167 - in /llvm/trunk: lib/CodeGen/SelectionDAG/SelectionDAG.cpp test/CodeGen/X86/2007-12-18-LoadCSEBug.ll

2007-12-18 Thread Evan Cheng
Author: evancheng Date: Tue Dec 18 13:38:14 2007 New Revision: 45167 URL: http://llvm.org/viewvc/llvm-project?rev=45167&view=rev Log: Fix PR1872: SrcValue and SrcValueOffset should not be used to compute load / store node id. Added: llvm/trunk/test/CodeGen/X86/2007-12-18-LoadCSEBug.ll Modifi

[llvm-commits] [llvm] r45168 - in /llvm/trunk: include/llvm/System/Path.h lib/System/Unix/Path.inc lib/System/Win32/Path.inc

2007-12-18 Thread Ted Kremenek
Author: kremenek Date: Tue Dec 18 13:46:22 2007 New Revision: 45168 URL: http://llvm.org/viewvc/llvm-project?rev=45168&view=rev Log: Added "isDirectory" method to llvm::sys::Path. Modified: llvm/trunk/include/llvm/System/Path.h llvm/trunk/lib/System/Unix/Path.inc llvm/trunk/lib/System

Re: [llvm-commits] [llvm] r45158 - in /llvm/trunk: lib/Target/README.txt lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll

2007-12-18 Thread Christopher Lamb
On Dec 18, 2007, at 10:55 AM, Chris Lattner wrote: On Dec 18, 2007, at 1:34 AM, Christopher Lamb wrote: Author: clamb Date: Tue Dec 18 03:34:41 2007 New Revision: 45158 URL: http://llvm.org/viewvc/llvm-project?rev=45158&view=rev Log: Fold certain additions through selects (and their compare

[llvm-commits] [llvm] r45169 - in /llvm/trunk: lib/Transforms/Scalar/InstructionCombining.cpp test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll

2007-12-18 Thread Christopher Lamb
Author: clamb Date: Tue Dec 18 14:30:28 2007 New Revision: 45169 URL: http://llvm.org/viewvc/llvm-project?rev=45169&view=rev Log: Remove an orthogonal transformation of the selection condition from my most recent submission. Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp

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

2007-12-18 Thread Christopher Lamb
Author: clamb Date: Tue Dec 18 14:33:11 2007 New Revision: 45170 URL: http://llvm.org/viewvc/llvm-project?rev=45170&view=rev Log: Fix comments Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp URL: http://

[llvm-commits] [llvm] r45172 - /llvm/trunk/lib/CodeGen/AsmPrinter.cpp

2007-12-18 Thread Anton Korobeynikov
Author: asl Date: Tue Dec 18 14:53:41 2007 New Revision: 45172 URL: http://llvm.org/viewvc/llvm-project?rev=45172&view=rev Log: Support more insane CEP's in AsmPrinter (Yes, PyPy folks do really use them). Modified: llvm/trunk/lib/CodeGen/AsmPrinter.cpp Modified: llvm/trunk/lib/CodeGen/AsmPr

[llvm-commits] [llvm] r45178 - /llvm/trunk/lib/CodeGen/MachineLICM.cpp

2007-12-18 Thread Bill Wendling
Author: void Date: Tue Dec 18 15:38:04 2007 New Revision: 45178 URL: http://llvm.org/viewvc/llvm-project?rev=45178&view=rev Log: Add debugging info. Use the newly created "hasUnmodelledSideEffects" method. Modified: llvm/trunk/lib/CodeGen/MachineLICM.cpp Modified: llvm/trunk/lib/CodeGen/Mach

[llvm-commits] [llvm-gcc-4.2] r45181 - /llvm-gcc-4.2/trunk/gcc/llvm-types.cpp

2007-12-18 Thread Dale Johannesen
Author: johannes Date: Tue Dec 18 16:01:38 2007 New Revision: 45181 URL: http://llvm.org/viewvc/llvm-project?rev=45181&view=rev Log: Fix an ICE from testsuite. Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp URL: http://llvm.org/viewvc/llvm-p

[llvm-commits] [llvm] r45182 - in /llvm/trunk: include/llvm/System/Path.h lib/System/Unix/Path.inc lib/System/Win32/Path.inc

2007-12-18 Thread Ted Kremenek
Author: kremenek Date: Tue Dec 18 16:07:33 2007 New Revision: 45182 URL: http://llvm.org/viewvc/llvm-project?rev=45182&view=rev Log: Added "GetCurrentDirectory()" to sys::Path. Modified: llvm/trunk/include/llvm/System/Path.h llvm/trunk/lib/System/Unix/Path.inc llvm/trunk/lib/System/Wi

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

2007-12-18 Thread Christopher Lamb
Author: clamb Date: Tue Dec 18 15:32:20 2007 New Revision: 45173 URL: http://llvm.org/viewvc/llvm-project?rev=45173&view=rev Log: Fold subtracts into integer compares vs. zero. This improves generate code for this case on X86 from _foo: movl$99, %ecx movl4(%esp), %eax

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

2007-12-18 Thread Evan Cheng
Author: evancheng Date: Tue Dec 18 19:34:38 2007 New Revision: 45186 URL: http://llvm.org/viewvc/llvm-project?rev=45186&view=rev Log: Don't leave newly created nodes around if it turns out they are not needed. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Modified: llvm/trunk

[llvm-commits] [llvm-gcc-4.2] r45185 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-12-18 Thread Dale Johannesen
Author: johannes Date: Tue Dec 18 19:31:25 2007 New Revision: 45185 URL: http://llvm.org/viewvc/llvm-project?rev=45185&view=rev Log: Allow calls to reference types. From gcc testsuite. Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp URL:

[llvm-commits] [llvm] r45187 - /llvm/trunk/docs/LangRef.html

2007-12-18 Thread Chris Lattner
Author: lattner Date: Tue Dec 18 23:04:11 2007 New Revision: 45187 URL: http://llvm.org/viewvc/llvm-project?rev=45187&view=rev Log: fix more table abuses. Modified: llvm/trunk/docs/LangRef.html Modified: llvm/trunk/docs/LangRef.html URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/L

[llvm-commits] [llvm] r45190 - /llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td

2007-12-18 Thread Bill Wendling
Author: void Date: Wed Dec 19 00:07:48 2007 New Revision: 45190 URL: http://llvm.org/viewvc/llvm-project?rev=45190&view=rev Log: Mark the "isRemat" instruction as never having side effects. Modified: llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td Modified: llvm/trunk/lib/Target/PowerPC/PPCIns

[llvm-commits] [llvm] r45192 - /llvm/trunk/utils/emacs/tablegen-mode.el

2007-12-18 Thread Bill Wendling
Author: void Date: Wed Dec 19 00:20:05 2007 New Revision: 45192 URL: http://llvm.org/viewvc/llvm-project?rev=45192&view=rev Log: Modified to support comments better. Modified: llvm/trunk/utils/emacs/tablegen-mode.el Modified: llvm/trunk/utils/emacs/tablegen-mode.el URL: http://llvm.org/view

Re: [llvm-commits] [llvm-gcc-4.2] r45181 - /llvm-gcc-4.2/trunk/gcc/llvm-types.cpp

2007-12-18 Thread Duncan Sands
PS: >TREE_CODE(type) == POINTER_TYPE || >TREE_CODE(type) == REFERENCE_TYPE) && "not a sequential type!"); >// This relies on gcc types with constant size mapping to LLVM types with > the > - // same size. > - return !VOID_TYPE_P(TREE_TYPE(type)) && > isInt64(TYPE_SI

Re: [llvm-commits] [llvm-gcc-4.2] r45185 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp

2007-12-18 Thread Duncan Sands
Hi Dale, >assert(TREE_TYPE (TREE_OPERAND (exp, 0)) && > - TREE_CODE(TREE_TYPE (TREE_OPERAND (exp, 0))) == POINTER_TYPE > + (TREE_CODE(TREE_TYPE (TREE_OPERAND (exp, 0))) == POINTER_TYPE || > + TREE_CODE(TREE_TYPE (TREE_OPERAND (exp, 0))) == REFERENCE_TYPE) >

Re: [llvm-commits] [llvm-gcc-4.2] r45181 - /llvm-gcc-4.2/trunk/gcc/llvm-types.cpp

2007-12-18 Thread Duncan Sands
Hi Dale, > Fix an ICE from testsuite. what was the failing test? Thanks, D. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

[llvm-commits] [llvm] r45196 - in /llvm/trunk: lib/Target/CellSPU/SPUISelDAGToDAG.cpp lib/Target/CellSPU/SPUISelLowering.cpp lib/Target/CellSPU/SPUInstrInfo.cpp lib/Target/CellSPU/SPUInstrInfo.td lib/

2007-12-18 Thread Scott Michel
Author: pingbak Date: Wed Dec 19 01:35:06 2007 New Revision: 45196 URL: http://llvm.org/viewvc/llvm-project?rev=45196&view=rev Log: Add new immed16.ll test case, fix CellSPU errata to make test case work. Added: llvm/trunk/test/CodeGen/CellSPU/immed16.ll Modified: llvm/trunk/lib/Target/Ce

[llvm-commits] [llvm] r45197 - in /llvm/trunk/lib/CodeGen: DwarfWriter.cpp MachineModuleInfo.cpp SelectionDAG/SelectionDAGISel.cpp

2007-12-18 Thread Duncan Sands
Author: baldrick Date: Wed Dec 19 01:36:31 2007 New Revision: 45197 URL: http://llvm.org/viewvc/llvm-project?rev=45197&view=rev Log: The C++ exception handling personality function wants to know about calls that cannot throw ('nounwind'): if such a call does throw for some reason then the personal