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

2008-02-02 Thread Nick Lewycky
Author: nicholas Date: Sun Feb 3 01:42:09 2008 New Revision: 46683 URL: http://llvm.org/viewvc/llvm-project?rev=46683&view=rev Log: Fold away one multiply in instcombine. This would normally be caught in reassociate anyways, but they could be generated during instcombine's run. Modified: llv

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

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sun Feb 3 01:30:27 2008 New Revision: 46682 URL: http://llvm.org/viewvc/llvm-project?rev=46682&view=rev Log: Fix typo Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp URL: http://llvm.org/v

[llvm-commits] [llvm] r46681 - in /llvm/trunk: include/llvm/IntrinsicsX86.td lib/Target/X86/X86.td lib/Target/X86/X86Instr64bit.td lib/Target/X86/X86InstrInfo.td lib/Target/X86/X86InstrSSE.td lib/Targ

2008-02-02 Thread Nate Begeman
Author: sampo Date: Sun Feb 3 01:18:54 2008 New Revision: 46681 URL: http://llvm.org/viewvc/llvm-project?rev=46681&view=rev Log: SSE 4.1 Intrinsics and detection Modified: llvm/trunk/include/llvm/IntrinsicsX86.td llvm/trunk/lib/Target/X86/X86.td llvm/trunk/lib/Target/X86/X86Instr64b

[llvm-commits] [llvm] r46680 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeTypes.cpp LegalizeTypes.h

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sun Feb 3 01:13:32 2008 New Revision: 46680 URL: http://llvm.org/viewvc/llvm-project?rev=46680&view=rev Log: handle the case where a node can become ready to process multiple times due to a RAUW. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp llvm/t

[llvm-commits] [llvm] r46679 - in /llvm/trunk/lib/CodeGen/SelectionDAG: LegalizeTypes.cpp LegalizeTypes.h

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sun Feb 3 01:08:51 2008 New Revision: 46679 URL: http://llvm.org/viewvc/llvm-project?rev=46679&view=rev Log: Use the new infrastructure for listening to node updates to keep the LegalizeTypes node flags up to date when doing a RAUW. This fixes a nasty bug that Duncan ran in

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

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sun Feb 3 01:01:05 2008 New Revision: 46678 URL: http://llvm.org/viewvc/llvm-project?rev=46678&view=rev Log: the world doesn't need my debugging code. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombine

[llvm-commits] [llvm] r46677 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h lib/CodeGen/SelectionDAG/DAGCombiner.cpp lib/CodeGen/SelectionDAG/SelectionDAG.cpp utils/TableGen/DAGISelEmitter.cpp

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sun Feb 3 00:49:24 2008 New Revision: 46677 URL: http://llvm.org/viewvc/llvm-project?rev=46677&view=rev Log: Change the 'global modification' APIs in SelectionDAG to take a new DAGUpdateListener object pointer instead of just returning a vector of deleted nodes. This makes

[llvm-commits] [llvm] r46676 - in /llvm/trunk/lib/Target: ARM/ARMISelDAGToDAG.cpp Alpha/AlphaISelDAGToDAG.cpp IA64/IA64ISelDAGToDAG.cpp Sparc/SparcISelDAGToDAG.cpp

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sat Feb 2 23:43:57 2008 New Revision: 46676 URL: http://llvm.org/viewvc/llvm-project?rev=46676&view=rev Log: explicitly include Compiler.h instead of getting it from tblgen in the middle of a class. Modified: llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp llvm/trunk

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

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sat Feb 2 21:35:22 2008 New Revision: 46674 URL: http://llvm.org/viewvc/llvm-project?rev=46674&view=rev Log: Generalize the SDOperand->SDOperand form of SelectionDAG::ReplaceAllUsesWith to handle replacement of an SDOperand with *any* sdoperand, not just one for a node with

[llvm-commits] [llvm] r46673 - /llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sat Feb 2 21:20:59 2008 New Revision: 46673 URL: http://llvm.org/viewvc/llvm-project?rev=46673&view=rev Log: don't do ReplaceUses on a result that doesn't exist. Modified: llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG.cpp Modified: llvm/trunk/lib/Target/ARM/ARMISelDAGToDAG

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

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sat Feb 2 20:05:04 2008 New Revision: 46672 URL: http://llvm.org/viewvc/llvm-project?rev=46672&view=rev Log: add a -view-legalize-types-dags option, for viewing the dags going into legalize types. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp Modifie

Re: [llvm-commits] [llvm] r46666 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-02-02 Thread Nick Lewycky
Chris Lattner wrote: > On Feb 2, 2008, at 11:43 AM, Eric Christopher wrote: > >> On Feb 2, 2008, at 11:13 AM, Chris Lattner wrote: >> >>> On Feb 2, 2008, at 12:29 AM, Nick Lewycky wrote: Author: nicholas Date: Sat Feb 2 02:29:58 2008 New Revision: 4 URL: http://llvm.o

[llvm-commits] [llvm-gcc-4.2] r46671 - in /llvm-gcc-4.2/trunk/gcc: llvm-convert.cpp llvm-internal.h

2008-02-02 Thread Duncan Sands
Author: baldrick Date: Sat Feb 2 14:54:52 2008 New Revision: 46671 URL: http://llvm.org/viewvc/llvm-project?rev=46671&view=rev Log: Revert the fixes for PR1942: gcc doesn't always introduce the temporary (it's not yet clear how it decides this), and introducing it for a C++ object with constructo

[llvm-commits] [llvm-gcc-4.2] r46670 - in /llvm-gcc-4.2/trunk/gcc: llvm-backend.cpp llvm-convert.cpp

2008-02-02 Thread Duncan Sands
Author: baldrick Date: Sat Feb 2 14:23:27 2008 New Revision: 46670 URL: http://llvm.org/viewvc/llvm-project?rev=46670&view=rev Log: Use alignment zero if the gcc alignment is less than the ABI alignment, not just when it is equal to it. Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp l

Re: [llvm-commits] [llvm] r46666 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-02-02 Thread Eric Christopher
On Feb 2, 2008, at 11:48 AM, Chris Lattner wrote: > > On Feb 2, 2008, at 11:43 AM, Eric Christopher wrote: > >> >> On Feb 2, 2008, at 11:13 AM, Chris Lattner wrote: >> >>> On Feb 2, 2008, at 12:29 AM, Nick Lewycky wrote: Author: nicholas Date: Sat Feb 2 02:29:58 2008 New Revision:

Re: [llvm-commits] [llvm] r46666 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-02-02 Thread Chris Lattner
On Feb 2, 2008, at 11:43 AM, Eric Christopher wrote: > > On Feb 2, 2008, at 11:13 AM, Chris Lattner wrote: > >> On Feb 2, 2008, at 12:29 AM, Nick Lewycky wrote: >>> Author: nicholas >>> Date: Sat Feb 2 02:29:58 2008 >>> New Revision: 4 >>> >>> URL: http://llvm.org/viewvc/llvm-project?rev=466

Re: [llvm-commits] [llvm] r46666 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-02-02 Thread Eric Christopher
On Feb 2, 2008, at 11:13 AM, Chris Lattner wrote: > On Feb 2, 2008, at 12:29 AM, Nick Lewycky wrote: >> Author: nicholas >> Date: Sat Feb 2 02:29:58 2008 >> New Revision: 4 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=4&view=rev >> Log: >> Don't use uninitialized values. Fixes vec_

Re: [llvm-commits] [llvm] r46666 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-02-02 Thread Chris Lattner
On Feb 2, 2008, at 12:29 AM, Nick Lewycky wrote: > Author: nicholas > Date: Sat Feb 2 02:29:58 2008 > New Revision: 4 > > URL: http://llvm.org/viewvc/llvm-project?rev=4&view=rev > Log: > Don't use uninitialized values. Fixes vec_align.ll on X86 Linux. Oooh excellent detective work, thanks

[llvm-commits] [llvm-gcc-4.2] r46668 - /llvm-gcc-4.2/trunk/gcc/objc/objc-act.c

2008-02-02 Thread Chris Lattner
Author: lattner Date: Sat Feb 2 12:55:42 2008 New Revision: 46668 URL: http://llvm.org/viewvc/llvm-project?rev=46668&view=rev Log: correctly protect llvm-specific pieces with ENABLE_LLVM, fixing the non-llvm build. Modified: llvm-gcc-4.2/trunk/gcc/objc/objc-act.c Modified: llvm-gcc-4.2/tru

Re: [llvm-commits] [llvm] r46659 - in /llvm/trunk: include/llvm/CodeGen/ include/llvm/Target/ lib/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/CellSPU/ l

2008-02-02 Thread Anton Korobeynikov
> Right. They are not necessary now. But I think eventually I'd like to > see all the debug information be represented in MI's This looks like to be pretty sane approach. This will also allow us to clean up bunch of hackish code in X86RegisterInfo.cpp for 'automatic' emission of frame moves info

[llvm-commits] [llvm-gcc-4.2] r46642 - /llvm-gcc-4.2/tags/Apple/llvmgcc42-2014/

2008-02-02 Thread Bill Wendling
Author: void Date: Fri Feb 1 12:57:14 2008 New Revision: 46642 URL: http://llvm.org/viewvc/llvm-project?rev=46642&view=rev Log: Creating llvmgcc42-2014 branch Added: llvm-gcc-4.2/tags/Apple/llvmgcc42-2014/ - copied from r46641, llvm-gcc-4.2/trunk/ _

[llvm-commits] [llvm] r46667 - in /llvm/trunk: lib/CodeGen/AsmPrinter.cpp lib/Target/ARM/ARMAsmPrinter.cpp lib/Target/Alpha/AlphaAsmPrinter.cpp lib/Target/CellSPU/SPUAsmPrinter.cpp lib/Target/IA64/IA6

2008-02-02 Thread Evan Cheng
Author: evancheng Date: Sat Feb 2 02:39:46 2008 New Revision: 46667 URL: http://llvm.org/viewvc/llvm-project?rev=46667&view=rev Log: Get rid of the annoying blank lines before labels. Modified: llvm/trunk/lib/CodeGen/AsmPrinter.cpp llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp llvm/tru

[llvm-commits] [llvm] r46666 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

2008-02-02 Thread Nick Lewycky
Author: nicholas Date: Sat Feb 2 02:29:58 2008 New Revision: 4 URL: http://llvm.org/viewvc/llvm-project?rev=4&view=rev Log: Don't use uninitialized values. Fixes vec_align.ll on X86 Linux. Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Modified: llvm/trunk/lib/Target/X86/X8

Re: [llvm-commits] [llvm] r46659 - in /llvm/trunk: include/llvm/CodeGen/ include/llvm/Target/ lib/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/CellSPU/ l

2008-02-02 Thread Chris Lattner
On Feb 2, 2008, at 12:03 AM, Evan Cheng wrote: >> Nifty! Out of curiosity, why do you need a DECLARE MachineInstr? It >> seems like the 'recording' happens when the target-independent dag is >> selected to target-specific instructions, no? > > Right. They are not necessary now. But I think even

Re: [llvm-commits] [llvm] r46659 - in /llvm/trunk: include/llvm/CodeGen/ include/llvm/Target/ lib/CodeGen/ lib/CodeGen/SelectionDAG/ lib/Target/ lib/Target/ARM/ lib/Target/Alpha/ lib/Target/CellSPU/ l

2008-02-02 Thread Evan Cheng
On Feb 1, 2008, at 8:13 PM, Chris Lattner wrote: > On Feb 1, 2008, at 8:07 PM, Evan Cheng wrote: >> URL: http://llvm.org/viewvc/llvm-project?rev=46659&view=rev >> Log: >> SDIsel processes llvm.dbg.declare by recording the variable debug >> information descriptor and its corresponding stack frame