[llvm-commits] Patch for strict alias warning in Support/Allocator.cpp

2007-02-21 Thread me22
I only saw 3 warnings compiling llvm, 2 of which looked like flex's fault, so it made me want to fix the other one: Allocator.cpp: In member function 'void* llvm::BumpPtrAllocator::Allocate(unsigned int, unsigned int)': Allocator.cpp:96: warning: dereferencing type-punned pointer will break strict

[llvm-commits] CVS: llvm/docs/DeveloperPolicy.html

2007-02-21 Thread Chris Lattner
Changes in directory llvm/docs: DeveloperPolicy.html updated: 1.34 -> 1.35 --- Log message: clarify llvm-gcc GPL issue --- Diffs of the changes: (+6 -6) DeveloperPolicy.html | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) Index: llvm/docs/DeveloperPolicy.html diff -

Re: [llvm-commits] CVS: llvm/include/llvm/Intrinsics.td

2007-02-21 Thread Chris Lattner
> Intrinsics.td updated: 1.46 -> 1.47 > --- > Log message: > > Add new intrinsics for eh support. Please make sure to document the eh intrinsics in LangRef.html, -Chris > --- > Diffs of the changes: (+3 -1) > > Intrinsics.td |4 +++- > 1 files changed, 3 insertions(+), 1 deletion(-) > > >

Re: [llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp PPCRegisterInfo.cpp PPCRegisterInfo.h

2007-02-21 Thread Chris Lattner
> Support to provide exception and selector registers. Hey Jim, This behavior: > +/// LowerEXCEPTIONADDR - Replace EXCEPTIONADDR with a copy from > the exception > +/// register. The register was made live in the ISel. > +static SDOperand LowerEXCEPTIONADDR(SDOperand Op, SelectionDAG > &DAG

[llvm-commits] [124167] refactor

2007-02-21 Thread clattner
Revision: 124167 Author: clattner Date: 2007-02-21 20:26:05 -0800 (Wed, 21 Feb 2007) Log Message: --- refactor Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp

[llvm-commits] [124166] writable strings shouldn't be cached.

2007-02-21 Thread clattner
Revision: 124166 Author: clattner Date: 2007-02-21 19:28:53 -0800 (Wed, 21 Feb 2007) Log Message: --- writable strings shouldn't be cached. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp ===

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/APInt/gptest.cpp

2007-02-21 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt: gptest.cpp updated: 1.2 -> 1.3 --- Log message: Don't invoke gp with the --test flag, it causes the output lines to wrap and that causes false positives. --- Diffs of the changes: (+13 -6) gptest.cpp | 19 +

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

2007-02-21 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.30 -> 1.31 --- Log message: When converting from 64 to 32-bits, use the actual number of words to extract the value, not the number of words implied by the active bits. This fixes numerous, but not all divide bugs. --- Diffs of the c

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

2007-02-21 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.29 -> 1.30 --- Log message: Fix countLeadingZeros in the case that the bitwidth evenly divides the word size. This fixes all reads of uninitialized data (buffer over read) and makes APInt.cpp memory clean, per valgrind. The only remain

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

2007-02-21 Thread Evan Cheng
On Feb 21, 2007, at 2:40 PM, Jim Laskey wrote: > + > + /// IsLandingPad - Indicate that this basic block is entered via an > + /// exception handler. > + bool IsLandingPad; Since you are touching this... :-) Seems to me there is a way to reorganize the fields within MachineBasicBlock to sav

[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp X86RegisterInfo.cpp X86RegisterInfo.h

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.321 -> 1.322 X86RegisterInfo.cpp updated: 1.203 -> 1.204 X86RegisterInfo.h updated: 1.48 -> 1.49 --- Log message: Support to provide exception and selector registers. --- Diffs of the changes: (+18 -0) X86ISelLowering.

[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp PPCRegisterInfo.cpp PPCRegisterInfo.h

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/Target/PowerPC: PPCISelLowering.cpp updated: 1.251 -> 1.252 PPCRegisterInfo.cpp updated: 1.108 -> 1.109 PPCRegisterInfo.h updated: 1.27 -> 1.28 --- Log message: Support to provide exception and selector registers. --- Diffs of the changes: (+40 -1) PPCISelLower

[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelLowering.cpp AlphaRegisterInfo.cpp AlphaRegisterInfo.h

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/Target/Alpha: AlphaISelLowering.cpp updated: 1.81 -> 1.82 AlphaRegisterInfo.cpp updated: 1.60 -> 1.61 AlphaRegisterInfo.h updated: 1.20 -> 1.21 --- Log message: Support to provide exception and selector registers. --- Diffs of the changes: (+18 -1) AlphaISelLow

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelLowering.cpp ARMRegisterInfo.cpp ARMRegisterInfo.h

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/Target/ARM: ARMISelLowering.cpp updated: 1.14 -> 1.15 ARMRegisterInfo.cpp updated: 1.69 -> 1.70 ARMRegisterInfo.h updated: 1.10 -> 1.11 --- Log message: Support to provide exception and selector registers. --- Diffs of the changes: (+17 -0) ARMISelLowering.cpp

[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelLowering.cpp IA64RegisterInfo.cpp IA64RegisterInfo.h

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/Target/IA64: IA64ISelLowering.cpp updated: 1.53 -> 1.54 IA64RegisterInfo.cpp updated: 1.31 -> 1.32 IA64RegisterInfo.h updated: 1.14 -> 1.15 --- Log message: Support to provide exception and selector registers. --- Diffs of the changes: (+17 -0) IA64ISelLowering

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/include/llvm/Target: MRegisterInfo.h updated: 1.94 -> 1.95 --- Log message: Support to provide exception and selector registers. --- Diffs of the changes: (+9 -1) MRegisterInfo.h | 10 +- 1 files changed, 9 insertions(+), 1 deletion(-) Index: llvm/inclu

[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp SparcRegisterInfo.cpp SparcRegisterInfo.h

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/Target/Sparc: SparcISelDAGToDAG.cpp updated: 1.119 -> 1.120 SparcRegisterInfo.cpp updated: 1.54 -> 1.55 SparcRegisterInfo.h updated: 1.20 -> 1.21 --- Log message: Support to provide exception and selector registers. --- Diffs of the changes: (+17 -0) SparcISelD

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.476 -> 1.477 SelectionDAG.cpp updated: 1.389 -> 1.390 SelectionDAGISel.cpp updated: 1.369 -> 1.370 --- Log message: Selection and lowering for exception handling. --- Diffs of the changes: (+141 -2) LegalizeDAG.c

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: IntrinsicLowering.cpp updated: 1.67 -> 1.68 --- Log message: Selection and lowering for exception handling. --- Diffs of the changes: (+5 -0) IntrinsicLowering.cpp |5 + 1 files changed, 5 insertions(+) Index: llvm/lib/CodeGen/IntrinsicLoweri

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/Transforms/Utils: LowerInvoke.cpp updated: 1.55 -> 1.56 --- Log message: Itanium ABI exception handing support. --- Diffs of the changes: (+50 -36) LowerInvoke.cpp | 86 1 files changed, 50 insertions(+

[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp AsmPrinter.cpp

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: DwarfWriter.cpp updated: 1.125 -> 1.126 AsmPrinter.cpp updated: 1.152 -> 1.153 --- Log message: Exception handling support. --- Diffs of the changes: (+313 -94) AsmPrinter.cpp |2 DwarfWriter.cpp | 405 +++

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/include/llvm/CodeGen: AsmPrinter.h updated: 1.61 -> 1.62 --- Log message: Add support for changes in DwarfWriter. --- Diffs of the changes: (+5 -0) AsmPrinter.h |5 + 1 files changed, 5 insertions(+) Index: llvm/include/llvm/CodeGen/AsmPrinter.h diff -u l

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.151 -> 1.152 --- Log message: Add support for changes in DwarfWriter. --- Diffs of the changes: (+12 -0) AsmPrinter.cpp | 12 1 files changed, 12 insertions(+) Index: llvm/lib/CodeGen/AsmPrinter.cpp diff -u ll

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/Target/PowerPC: PPCAsmPrinter.cpp updated: 1.233 -> 1.234 --- Log message: Add support for changes in DwarfWriter. --- Diffs of the changes: (+14 -0) PPCAsmPrinter.cpp | 14 ++ 1 files changed, 14 insertions(+) Index: llvm/lib/Target/PowerPC/PPC

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/Target/PowerPC: PPCTargetAsmInfo.cpp updated: 1.17 -> 1.18 --- Log message: Add TAI field for exception table section. --- Diffs of the changes: (+1 -0) PPCTargetAsmInfo.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Target/PowerPC/PPCTargetAsm

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/Target: TargetAsmInfo.cpp updated: 1.18 -> 1.19 --- Log message: Add TAI field for exception table section. --- Diffs of the changes: (+1 -0) TargetAsmInfo.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Target/TargetAsmInfo.cpp diff -u llvm/lib

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/include/llvm/Target: TargetAsmInfo.h updated: 1.25 -> 1.26 --- Log message: Add TAI field for exception table section. --- Diffs of the changes: (+8 -0) TargetAsmInfo.h |8 1 files changed, 8 insertions(+) Index: llvm/include/llvm/Target/TargetAsmInf

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: BranchFolding.cpp updated: 1.42 -> 1.43 --- Log message: Make branch folding behave in the presence of landing pads. --- Diffs of the changes: (+30 -25) BranchFolding.cpp | 55 +- 1 files changed, 3

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/include/llvm/CodeGen: MachineBasicBlock.h updated: 1.58 -> 1.59 --- Log message: Add a flag to MBBs to indicate whether it is an eh landing pad. --- Diffs of the changes: (+18 -1) MachineBasicBlock.h | 19 ++- 1 files changed, 18 insertions(+), 1

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/include/llvm/CodeGen: LiveIntervalAnalysis.h updated: 1.71 -> 1.72 --- Log message: Allow for live in registers for eh landing pads. --- Diffs of the changes: (+3 -1) LiveIntervalAnalysis.h |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: LiveIntervalAnalysis.cpp updated: 1.210 -> 1.211 --- Log message: Allow for live in registers for eh landing pads. --- Diffs of the changes: (+6 -5) LiveIntervalAnalysis.cpp | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) Index:

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/include/llvm/CodeGen: MachineModuleInfo.h updated: 1.4 -> 1.5 --- Log message: Add structures used for collecting eh information. --- Diffs of the changes: (+78 -0) MachineModuleInfo.h | 78 1 files changed, 78

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: MachineModuleInfo.cpp updated: 1.3 -> 1.4 --- Log message: Add structures used for collecting eh information. --- Diffs of the changes: (+94 -0) MachineModuleInfo.cpp | 94 ++ 1 files changed, 94 insert

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

2007-02-21 Thread Jim Laskey
Changes in directory llvm/include/llvm/CodeGen: SelectionDAGNodes.h updated: 1.177 -> 1.178 --- Log message: Add new instructions for handling data passed into eh landing pad. --- Diffs of the changes: (+9 -1) SelectionDAGNodes.h | 10 +- 1 files changed, 9 insertions(+), 1 deleti

[llvm-commits] CVS: llvm/include/llvm/Intrinsics.td

2007-02-21 Thread Jim Laskey
Changes in directory llvm/include/llvm: Intrinsics.td updated: 1.46 -> 1.47 --- Log message: Add new intrinsics for eh support. --- Diffs of the changes: (+3 -1) Intrinsics.td |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/include/llvm/Intrinsics.td diff -u llvm/

[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

2007-02-21 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.320 -> 1.321 --- Log message: ELF / PIC requires GOT be in the EBX register during calls via PLT GOT pointer. Add implicit uses of EBX to calls to ensure liveintervalanalysis does not treat the GOT in EBX move as dead upon

[llvm-commits] [124164] Backport mingw32 support from FSF GCC mainline.

2007-02-21 Thread dpatel
Revision: 124164 Author: dpatel Date: 2007-02-21 13:13:42 -0800 (Wed, 21 Feb 2007) Log Message: --- Backport mingw32 support from FSF GCC mainline. Patch by Anton Korobeynikov. Added Paths: --- apple-local/branches/llvm/gcc/config/i386/winnt-cxx.c apple-local/branche

[llvm-commits] CVS: llvm/include/llvm/Analysis/ET-Forest.h

2007-02-21 Thread Devang Patel
Changes in directory llvm/include/llvm/Analysis: ET-Forest.h updated: 1.8 -> 1.9 --- Log message: Simplify --- Diffs of the changes: (+1 -2) ET-Forest.h |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/include/llvm/Analysis/ET-Forest.h diff -u llvm/include/llvm/Ana

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

2007-02-21 Thread Chris Lattner
Changes in directory llvm-www: header.incl updated: 1.51 -> 1.52 --- Log message: add new status update --- Diffs of the changes: (+15 -14) header.incl | 29 +++-- 1 files changed, 15 insertions(+), 14 deletions(-) Index: llvm-www/header.incl diff -u llvm-www/h

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/APInt/gptest.cpp

2007-02-21 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt: gptest.cpp updated: 1.1 -> 1.2 --- Log message: Improve this test: 1. Remove dead code (hold overs from another test). 2. Simplify communication with gp. 3. Fix a read uninitialized data bug by terminating the read buffer with

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

2007-02-21 Thread Reid Spencer
Changes in directory llvm/lib/Support: APInt.cpp updated: 1.28 -> 1.29 --- Log message: Reorganize some code to make it clearer, avoid a few uninitialized memory reads, and reduce the number of temporary APInt instances we construct. --- Diffs of the changes: (+57 -56) APInt.cpp | 113 +++