[llvm-commits] [llvm] r42742 - /llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp

2007-10-08 Thread Evan Cheng
Author: evancheng Date: Mon Oct 8 01:59:30 2007 New Revision: 42742 URL: http://llvm.org/viewvc/llvm-project?rev=42742view=rev Log: Kill cycle of an live range is always the last use index + 1. Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Modified:

[llvm-commits] [llvm] r42743 - in /llvm/trunk: include/llvm/Analysis/Dominators.h lib/VMCore/Dominators.cpp

2007-10-08 Thread Owen Anderson
Author: resistor Date: Mon Oct 8 02:44:39 2007 New Revision: 42743 URL: http://llvm.org/viewvc/llvm-project?rev=42743view=rev Log: Begin the process of allowing DomTree on MBB's. Step One: template DomTreeNode by making it a typedef of a templated DomTreeNodeBase. Modified:

[llvm-commits] [llvm] r42744 - /llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c

2007-10-08 Thread Gordon Henriksen
Author: gordon Date: Mon Oct 8 07:16:59 2007 New Revision: 42744 URL: http://llvm.org/viewvc/llvm-project?rev=42744view=rev Log: Fixed downrev Ocaml compatibility. Modified: llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c Modified: llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c URL:

[llvm-commits] [llvm] r42745 - in /llvm/trunk: include/llvm/ADT/APInt.h lib/Support/APInt.cpp

2007-10-08 Thread Neil Booth
Author: neil Date: Mon Oct 8 08:47:12 2007 New Revision: 42745 URL: http://llvm.org/viewvc/llvm-project?rev=42745view=rev Log: Add a new function tcExtract for extracting a bignum from an arbitrary range of bits embedded in the middle of another bignum. This kind of operation is desirable in

[llvm-commits] [llvm] r42747 - in /llvm/trunk: include/llvm/Bitcode/Archive.h include/llvm/Bitcode/BitCodes.h include/llvm/Bitcode/BitstreamWriter.h include/llvm/Support/CommandLine.h include/llvm/Tar

2007-10-08 Thread Dan Gohman
Author: djg Date: Mon Oct 8 10:08:41 2007 New Revision: 42747 URL: http://llvm.org/viewvc/llvm-project?rev=42747view=rev Log: Add explicit keywords. Modified: llvm/trunk/include/llvm/Bitcode/Archive.h llvm/trunk/include/llvm/Bitcode/BitCodes.h

[llvm-commits] [llvm] r42748 - /llvm/trunk/include/llvm/Support/CommandLine.h

2007-10-08 Thread Dan Gohman
Author: djg Date: Mon Oct 8 10:10:04 2007 New Revision: 42748 URL: http://llvm.org/viewvc/llvm-project?rev=42748view=rev Log: Fix grammar in a comment. Modified: llvm/trunk/include/llvm/Support/CommandLine.h Modified: llvm/trunk/include/llvm/Support/CommandLine.h URL:

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

2007-10-08 Thread Dan Gohman
Author: djg Date: Mon Oct 8 10:12:17 2007 New Revision: 42749 URL: http://llvm.org/viewvc/llvm-project?rev=42749view=rev Log: In -debug mode, dump SelectionDAGs both before and after the optimization passes. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Modified:

[llvm-commits] [llvm] r42750 - /llvm/trunk/lib/Linker/LinkModules.cpp

2007-10-08 Thread Dan Gohman
Author: djg Date: Mon Oct 8 10:13:30 2007 New Revision: 42750 URL: http://llvm.org/viewvc/llvm-project?rev=42750view=rev Log: Use correct parentheses with the ' ...' idiom in an assert. Modified: llvm/trunk/lib/Linker/LinkModules.cpp Modified: llvm/trunk/lib/Linker/LinkModules.cpp URL:

[llvm-commits] [llvm] r42752 - in /llvm/trunk: lib/Support/ tools/bugpoint/ tools/llc/ tools/lli/ tools/llvm-ar/ tools/llvm-as/ tools/llvm-bcanalyzer/ tools/llvm-db/ tools/llvm-dis/ tools/llvm-extract

2007-10-08 Thread Dan Gohman
Author: djg Date: Mon Oct 8 10:45:12 2007 New Revision: 42752 URL: http://llvm.org/viewvc/llvm-project?rev=42752view=rev Log: Move the space in overview output for commands out of each of the commands and into the common code. Modified: llvm/trunk/lib/Support/CommandLine.cpp

[llvm-commits] [llvm] r42753 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h lib/CodeGen/SelectionDAG/SelectionDAG.cpp

2007-10-08 Thread Dan Gohman
Author: djg Date: Mon Oct 8 10:49:58 2007 New Revision: 42753 URL: http://llvm.org/viewvc/llvm-project?rev=42753view=rev Log: Add convenience overloads of SelectionDAG::getNode that take a SDVTList and individual SDOperand operands. Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAG.h

[llvm-commits] [llvm] r42755 - /llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp

2007-10-08 Thread Dan Gohman
Author: djg Date: Mon Oct 8 12:28:24 2007 New Revision: 42755 URL: http://llvm.org/viewvc/llvm-project?rev=42755view=rev Log: When we start enabling SMUL_LOHI/UMUL_LOHI or SDIVREM/UDIVREM in target-indepenent lowering, don't use them on PowerPC. Modified:

Re: [llvm-commits] [llvm] r42736 - in /llvm/trunk: Xcode/LLVM.xcodeproj/project.pbxproj bindings/ocaml/llvm/llvm.ml bindings/ocaml/llvm/llvm.mli bindings/ocaml/llvm/llvm_ocaml.c include/llvm-c/Core.h

2007-10-08 Thread Evan Cheng
Hi Gordon, On Oct 7, 2007, at 10:31 AM, Gordon Henriksen wrote: = = = = = = = = == --- llvm/trunk/lib/VMCore/Core.cpp (original) +++ llvm/trunk/lib/VMCore/Core.cpp Sun Oct 7 12:31:42 2007 @@ -557,6 +557,17 @@

[llvm-commits] [llvm] r42757 - /llvm/trunk/lib/VMCore/Core.cpp

2007-10-08 Thread Evan Cheng
Author: evancheng Date: Mon Oct 8 12:49:43 2007 New Revision: 42757 URL: http://llvm.org/viewvc/llvm-project?rev=42757view=rev Log: Remove debugging printf to get build going on x86-64. Modified: llvm/trunk/lib/VMCore/Core.cpp Modified: llvm/trunk/lib/VMCore/Core.cpp URL:

[llvm-commits] [llvm] r42758 - /llvm/trunk/docs/CodeGenerator.html

2007-10-08 Thread Evan Cheng
Author: evancheng Date: Mon Oct 8 12:54:24 2007 New Revision: 42758 URL: http://llvm.org/viewvc/llvm-project?rev=42758view=rev Log: LLVM does not use the old style simple isel any more. Modified: llvm/trunk/docs/CodeGenerator.html Modified: llvm/trunk/docs/CodeGenerator.html URL:

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

2007-10-08 Thread Dan Gohman
Author: djg Date: Mon Oct 8 12:57:15 2007 New Revision: 42759 URL: http://llvm.org/viewvc/llvm-project?rev=42759view=rev Log: DAGCombiner support for UDIVREM/SDIVREM and UMUL_LOHI/SMUL_LOHI. Check if one of the two results unneeded so see if a simpler operator could bs used. Also check to see

[llvm-commits] [llvm] r42760 - in /llvm/trunk: bindings/ocaml/llvm/llvm.ml bindings/ocaml/llvm/llvm.mli bindings/ocaml/llvm/llvm_ocaml.c include/llvm-c/Core.h lib/VMCore/Core.cpp test/Bindings/Ocaml/v

2007-10-08 Thread Gordon Henriksen
Author: gordon Date: Mon Oct 8 13:14:39 2007 New Revision: 42760 URL: http://llvm.org/viewvc/llvm-project?rev=42760view=rev Log: C and Objective Caml bindings for PHINode::addIncoming etc. Modified: llvm/trunk/bindings/ocaml/llvm/llvm.ml llvm/trunk/bindings/ocaml/llvm/llvm.mli

[llvm-commits] [llvm] r42761 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2007-10-08 Thread Evan Cheng
Author: evancheng Date: Mon Oct 8 13:27:46 2007 New Revision: 42761 URL: http://llvm.org/viewvc/llvm-project?rev=42761view=rev Log: Allow x86 compare to be commutable by default. Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp URL:

[llvm-commits] [test-suite] r42761 - /test-suite/trunk/Makefile.programs

2007-10-08 Thread Evan Cheng
Author: evancheng Date: Mon Oct 8 13:27:46 2007 New Revision: 42761 URL: http://llvm.org/viewvc/llvm-project?rev=42761view=rev Log: Allow x86 compare to be commutable by default. Modified: test-suite/trunk/Makefile.programs Modified: test-suite/trunk/Makefile.programs URL:

[llvm-commits] [llvm] r42762 - in /llvm/trunk/lib: CodeGen/SelectionDAG/LegalizeDAG.cpp CodeGen/SelectionDAG/TargetLowering.cpp Target/ARM/ARMISelDAGToDAG.cpp Target/ARM/ARMISelLowering.cpp Target/ARM

2007-10-08 Thread Dan Gohman
Author: djg Date: Mon Oct 8 13:33:35 2007 New Revision: 42762 URL: http://llvm.org/viewvc/llvm-project?rev=42762view=rev Log: Migrate X86 and ARM from using X86ISD::{,I}DIV and ARMISD::MULHILO{U,S} to use ISD::{S,U}DIVREM and ISD::{S,U}MUL_HIO. Move the lowering code associated with these

[llvm-commits] [llvm] r42763 - /llvm/trunk/docs/BitCodeFormat.html

2007-10-08 Thread Chris Lattner
Author: lattner Date: Mon Oct 8 13:42:45 2007 New Revision: 42763 URL: http://llvm.org/viewvc/llvm-project?rev=42763view=rev Log: Various improvements to the documentation, contributed by Joshua Haberman! Modified: llvm/trunk/docs/BitCodeFormat.html Modified:

[llvm-commits] [llvm] r42765 - in /llvm/trunk/test/CodeGen/X86: mul128.ll mul64.ll

2007-10-08 Thread Dan Gohman
Author: djg Date: Mon Oct 8 15:48:12 2007 New Revision: 42765 URL: http://llvm.org/viewvc/llvm-project?rev=42765view=rev Log: These two tests now require only three multiply instructions, instead of four. Added: llvm/trunk/test/CodeGen/X86/mul128.ll llvm/trunk/test/CodeGen/X86/mul64.ll

[llvm-commits] [llvm] r42768 - /llvm/trunk/include/llvm/Intrinsics.td

2007-10-08 Thread Dan Gohman
Author: djg Date: Mon Oct 8 16:15:07 2007 New Revision: 42768 URL: http://llvm.org/viewvc/llvm-project?rev=42768view=rev Log: Mark the prefetch intrinsic as IntrWriteArgMem, instead of the default of IntrWriteMem, to at least indicate that it doesn't capture the argument pointer. Modified:

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

2007-10-08 Thread Dan Gohman
Author: djg Date: Mon Oct 8 16:27:12 2007 New Revision: 42769 URL: http://llvm.org/viewvc/llvm-project?rev=42769view=rev Log: Call getFunctionNumber() instead of referencing FunctionNumber directly, for consistency. Modified: llvm/trunk/lib/CodeGen/AsmPrinter.cpp Modified:

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

2007-10-08 Thread Evan Cheng
Author: evancheng Date: Mon Oct 8 17:16:29 2007 New Revision: 42774 URL: http://llvm.org/viewvc/llvm-project?rev=42774view=rev Log: Bug fix. X86 was emitting redundant setcc and test instructions before a conditional move. Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Modified:

[llvm-commits] [llvm] r42775 - /llvm/trunk/test/CodeGen/X86/select.ll

2007-10-08 Thread Evan Cheng
Author: evancheng Date: Mon Oct 8 17:20:32 2007 New Revision: 42775 URL: http://llvm.org/viewvc/llvm-project?rev=42775view=rev Log: Update test. Modified: llvm/trunk/test/CodeGen/X86/select.ll Modified: llvm/trunk/test/CodeGen/X86/select.ll URL:

[llvm-commits] [llvm] r42778 - in /llvm/trunk/lib/Target/Mips: MipsInstrFormats.td MipsInstrInfo.td

2007-10-08 Thread Bruno Cardoso Lopes
Author: bruno Date: Mon Oct 8 21:55:31 2007 New Revision: 42778 URL: http://llvm.org/viewvc/llvm-project?rev=42778view=rev Log: Position Independent Code (PIC) support [1] - Modified instruction format to handle pseudo instructions - Added LoadAddr SDNode to load symbols. Modified:

[llvm-commits] [llvm] r42779 - in /llvm/trunk/lib/Target/Mips: MipsAsmPrinter.cpp MipsMachineFunction.h MipsTargetMachine.cpp

2007-10-08 Thread Bruno Cardoso Lopes
Author: bruno Date: Mon Oct 8 22:01:19 2007 New Revision: 42779 URL: http://llvm.org/viewvc/llvm-project?rev=42779view=rev Log: Position Independent Code (PIC) support [2] - Added a function to hold the stack location where GP must be stored during LowerCALL - AsmPrinter now emits directives

[llvm-commits] [llvm] r42780 - in /llvm/trunk/lib/Target/Mips: MipsISelLowering.cpp MipsISelLowering.h MipsRegisterInfo.cpp

2007-10-08 Thread Bruno Cardoso Lopes
Author: bruno Date: Mon Oct 8 22:15:11 2007 New Revision: 42780 URL: http://llvm.org/viewvc/llvm-project?rev=42780view=rev Log: Position Independent Code (PIC) support [3] Modified: llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp llvm/trunk/lib/Target/Mips/MipsISelLowering.h

[llvm-commits] [llvm] r42781 - in /llvm/trunk: include/llvm/ADT/FoldingSet.h lib/Support/FoldingSet.cpp

2007-10-08 Thread Chris Lattner
Author: lattner Date: Mon Oct 8 22:40:30 2007 New Revision: 42781 URL: http://llvm.org/viewvc/llvm-project?rev=42781view=rev Log: Change a #include into a forward declaration Modified: llvm/trunk/include/llvm/ADT/FoldingSet.h llvm/trunk/lib/Support/FoldingSet.cpp Modified:

[llvm-commits] [llvm] r42782 - /llvm/trunk/include/llvm/ADT/DenseMap.h

2007-10-08 Thread Chris Lattner
Author: lattner Date: Tue Oct 9 00:42:12 2007 New Revision: 42782 URL: http://llvm.org/viewvc/llvm-project?rev=42782view=rev Log: Fix problems where DenseMap used operator!= instead of correctly calling the traits implementation of isEqual. Modified: llvm/trunk/include/llvm/ADT/DenseMap.h