[llvm-commits] CVS: llvm/include/llvm/Constants.h

2006-12-16 Thread Reid Spencer
Changes in directory llvm/include/llvm: Constants.h updated: 1.107 -> 1.108 --- Log message: Fix problems in the CBE and InstructionCombining which use the isMaxValue and isMinValue methods of ConstantInt. These have been broken since the isSigned parameter was added. It is necessary to use the

Re: [llvm-commits] CVS: llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h LiveInterval.h LiveIntervalAnalysis.h MachineBasicBlock.h MachineConstantPool.h MachineFunction.h MachineInstr.h MachineJum

2006-12-16 Thread Jeff Cohen
This also breaks VC++ as there is no declaration for llvm::createGraphColoringRegisterAllocator(). As in, there isn't one anywhere in LLVM that I can find. I don't know how it compiles with gcc. Bill Wendling wrote: > Index: llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h > diff -u llvm/i

Re: [llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp

2006-12-16 Thread Jeff Cohen
This breaks the VC++ build with a "binary '<<' : no operator found which takes a left-hand operand of type 'llvm::OStream' (or there is no acceptable conversion)" error. I would try to fix it, but what is the purpose of this code other than to print some random hex digits? Bill Wendling wrote:

[llvm-commits] CVS: llvm/lib/Analysis/Trace.cpp

2006-12-16 Thread Bill Wendling
Changes in directory llvm/lib/Analysis: Trace.cpp updated: 1.5 -> 1.6 --- Log message: Added an automatic cast to "std::ostream*" etc. from OStream. We then can rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch to the correct pr

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

2006-12-16 Thread Bill Wendling
Changes in directory llvm/include/llvm/Target: SubtargetFeature.h updated: 1.9 -> 1.10 --- Log message: Added an automatic cast to "std::ostream*" etc. from OStream. We then can rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch

[llvm-commits] CVS: llvm/lib/Transforms/Utils/LowerSwitch.cpp

2006-12-16 Thread Bill Wendling
Changes in directory llvm/lib/Transforms/Utils: LowerSwitch.cpp updated: 1.28 -> 1.29 --- Log message: Added an automatic cast to "std::ostream*" etc. from OStream. We then can rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch t

[llvm-commits] CVS: llvm/include/llvm/Analysis/AliasSetTracker.h CallGraph.h Dominators.h FindUsedTypes.h Interval.h IntervalPartition.h LoopInfo.h ScalarEvolution.h ScalarEvolutionExpressions.h Trace

2006-12-16 Thread Bill Wendling
Changes in directory llvm/include/llvm/Analysis: AliasSetTracker.h updated: 1.29 -> 1.30 CallGraph.h updated: 1.52 -> 1.53 Dominators.h updated: 1.62 -> 1.63 FindUsedTypes.h updated: 1.28 -> 1.29 Interval.h updated: 1.21 -> 1.22 IntervalPartition.h updated: 1.22 -> 1.23 LoopInfo.h updated: 1.62

[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp LiveInterval.cpp VirtRegMap.cpp VirtRegMap.h

2006-12-16 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen: DwarfWriter.cpp updated: 1.107 -> 1.108 LiveInterval.cpp updated: 1.42 -> 1.43 VirtRegMap.cpp updated: 1.90 -> 1.91 VirtRegMap.h updated: 1.24 -> 1.25 --- Log message: Added an automatic cast to "std::ostream*" etc. from OStream. We then can rework the hac

[llvm-commits] CVS: llvm/lib/Analysis/IPA/CallGraph.cpp

2006-12-16 Thread Bill Wendling
Changes in directory llvm/lib/Analysis/IPA: CallGraph.cpp updated: 1.62 -> 1.63 --- Log message: Added an automatic cast to "std::ostream*" etc. from OStream. We then can rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch to the

[llvm-commits] CVS: llvm/lib/Support/Debug.cpp Streams.cpp

2006-12-16 Thread Bill Wendling
Changes in directory llvm/lib/Support: Debug.cpp updated: 1.10 -> 1.11 Streams.cpp updated: 1.2 -> 1.3 --- Log message: Added an automatic cast to "std::ostream*" etc. from OStream. We then can rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, an

[llvm-commits] CVS: llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h LiveInterval.h LiveIntervalAnalysis.h MachineBasicBlock.h MachineConstantPool.h MachineFunction.h MachineInstr.h MachineJumpTab

2006-12-16 Thread Bill Wendling
Changes in directory llvm/include/llvm/CodeGen: LinkAllCodegenComponents.h updated: 1.3 -> 1.4 LiveInterval.h updated: 1.33 -> 1.34 LiveIntervalAnalysis.h updated: 1.65 -> 1.66 MachineBasicBlock.h updated: 1.53 -> 1.54 MachineConstantPool.h updated: 1.24 -> 1.25 MachineFunction.h updated: 1.62 -

[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp

2006-12-16 Thread Bill Wendling
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.137 -> 1.138 --- Log message: Added an automatic cast to "std::ostream*" etc. from OStream. We then can rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch to th

[llvm-commits] CVS: llvm/include/llvm/Support/ConstantRange.h Debug.h Streams.h

2006-12-16 Thread Bill Wendling
Changes in directory llvm/include/llvm/Support: ConstantRange.h updated: 1.11 -> 1.12 Debug.h updated: 1.12 -> 1.13 Streams.h updated: 1.6 -> 1.7 --- Log message: Added an automatic cast to "std::ostream*" etc. from OStream. We then can rework the hacks that had us passing OStream in. We pass i

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

2006-12-16 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen/SelectionDAG: ScheduleDAGSimple.cpp updated: 1.21 -> 1.22 --- Log message: Added an automatic cast to "std::ostream*" etc. from OStream. We then can rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then

[llvm-commits] CVS: llvm/include/llvm/Argument.h BasicBlock.h Constant.h Function.h GlobalVariable.h InlineAsm.h Instruction.h Module.h Pass.h Type.h Value.h

2006-12-16 Thread Bill Wendling
Changes in directory llvm/include/llvm: Argument.h updated: 1.12 -> 1.13 BasicBlock.h updated: 1.61 -> 1.62 Constant.h updated: 1.32 -> 1.33 Function.h updated: 1.67 -> 1.68 GlobalVariable.h updated: 1.37 -> 1.38 InlineAsm.h updated: 1.13 -> 1.14 Instruction.h updated: 1.75 -> 1.76 Module.h upda

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

2006-12-16 Thread Bill Wendling
Changes in directory llvm/include/llvm/ADT: BitSetVector.h updated: 1.18 -> 1.19 --- Log message: Added an automatic cast to "std::ostream*" etc. from OStream. We then can rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch to the

[llvm-commits] CVS: llvm/autoconf/configure.ac

2006-12-16 Thread Reid Spencer
Changes in directory llvm/autoconf: configure.ac updated: 1.255 -> 1.256 --- Log message: Allow an --enable-pic option to turn on -fPIC compiler option when building. The default is disabled until we know this doesn't break anyone. --- Diffs of the changes: (+14 -0) configure.ac | 14 +++

[llvm-commits] CVS: llvm/configure Makefile.config.in Makefile.rules

2006-12-16 Thread Reid Spencer
Changes in directory llvm: configure updated: 1.260 -> 1.261 Makefile.config.in updated: 1.71 -> 1.72 Makefile.rules updated: 1.415 -> 1.416 --- Log message: Allow an --enable-pic option to turn on -fPIC compiler option when building. The default is disabled until we know this doesn't break any

[llvm-commits] CVS: llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp

2006-12-16 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: DeadArgumentElimination.cpp updated: 1.31 -> 1.32 --- Log message: when inserting a dummy argument to work-around the CBE not supporting zero arg vararg functions, pass undef instead of 'int 0', which is cheaper. --- Diffs of the changes: (+1 -3

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

2006-12-16 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.331 -> 1.332 --- Log message: Fix PR1049: http://llvm.org/PR1049 and CodeGen/Generic/2006-12-16-InlineAsmCrash.ll by producing target constants instead of constants. Constants can get selected to li/movri ins

[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/2006-12-16-InlineAsmCrash.ll

2006-12-16 Thread Chris Lattner
Changes in directory llvm/test/Regression/CodeGen/Generic: 2006-12-16-InlineAsmCrash.ll added (r1.1) --- Log message: testcase for pr1049: http://llvm.org/PR1049 --- Diffs of the changes: (+34 -0) 2006-12-16-InlineAsmCrash.ll | 34 ++ 1 files changed, 34

[llvm-commits] CVS: llvm/test/Regression/CodeGen/CBackend/2003-06-28-InvokeSupport.ll

2006-12-16 Thread Chris Lattner
Changes in directory llvm/test/Regression/CodeGen/CBackend: 2003-06-28-InvokeSupport.ll updated: 1.3 -> 1.4 --- Log message: Fix one more broken testcase --- Diffs of the changes: (+1 -1) 2003-06-28-InvokeSupport.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/te

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

2006-12-16 Thread Chris Lattner
Changes in directory llvm/include/llvm/CodeGen: MachOWriter.h updated: 1.8 -> 1.9 --- Log message: Apply B. Scott Michel's patch for PR1054: http://llvm.org/PR1054 , thanks! --- Diffs of the changes: (+71 -16) MachOWriter.h | 87 +++---

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

2006-12-16 Thread Chris Lattner
Changes in directory llvm/lib/Target/PowerPC: PPCMachOWriter.cpp updated: 1.8 -> 1.9 --- Log message: Apply B. Scott Michel's patch for PR1054: http://llvm.org/PR1054 , thanks! --- Diffs of the changes: (+3 -3) PPCMachOWriter.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions

Re: [llvm-commits] CVS: llvm/lib/CodeGen/LiveInterval.cpp MachineBasicBlock.cpp MachineInstr.cpp

2006-12-16 Thread Chris Lattner
On Dec 15, 2006, at 6:11 PM, Jeff Cohen wrote: > I got it to work... I'll be committing shortly. I'm not sure what > the problem was, but it seems to have something to do with > resolving the overload of operator<< and almost certainly is a VC++ > bug. It won't accept a forward declared t