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

2006-09-27 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.280 -> 1.281 --- Log message: refactor critical edge breaking out into the SplitCritEdgesForPHIConstants method. This is a baby step towards fixing PR925: http://llvm.org/PR925 . --- Diffs of the changes: (+

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

2006-09-27 Thread Chris Lattner
Changes in directory llvm/include/llvm/CodeGen: SelectionDAGISel.h updated: 1.24 -> 1.25 --- Log message: refactor critical edge breaking out into the SplitCritEdgesForPHIConstants method. This is a baby step towards fixing PR925: http://llvm.org/PR925 . --- Diffs of the changes: (+1 -0)

[llvm-commits] CVS: llvm/lib/Target/README.txt

2006-09-27 Thread Chris Lattner
Changes in directory llvm/lib/Target: README.txt updated: 1.41 -> 1.42 --- Log message: add a note about a general improvement to the code generator --- Diffs of the changes: (+15 -1) README.txt | 16 +++- 1 files changed, 15 insertions(+), 1 deletion(-) Index: llvm/lib/Tar

Re: [llvm-commits] CVS: llvm/include/llvm/Support/ManagedStatic.h

2006-09-27 Thread Chris Lattner
>> + void LazyInit() const { >> + RegisterManagedStatic(new C(), object_deleter); > > This requires a default constructor for class "C". How would that work > for things like: > > static PrimType TheVoidTy ("void" , Type::VoidTyID); It doesn't. That specific case can be handled by making

Re: [llvm-commits] CVS: llvm/include/llvm/Support/ManagedStatic.h

2006-09-27 Thread Reid Spencer
On Wed, 2006-09-27 at 19:32 -0500, Chris Lattner wrote: > > Changes in directory llvm/include/llvm/Support: > > ManagedStatic.h added (r1.1) > --- > Log message: > > new helper class to provide more explicit management of static ctor/dtors. Looks like an interesting approach to this problem. On

[llvm-commits] CVS: llvm/lib/VMCore/Constants.cpp

2006-09-27 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.161 -> 1.162 --- Log message: remove reference to dead method --- Diffs of the changes: (+0 -1) Constants.cpp |1 - 1 files changed, 1 deletion(-) Index: llvm/lib/VMCore/Constants.cpp diff -u llvm/lib/VMCore/Constants.cpp

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

2006-09-27 Thread Chris Lattner
Changes in directory llvm/include/llvm: Constant.h updated: 1.30 -> 1.31 --- Log message: remove dead method --- Diffs of the changes: (+0 -5) Constant.h |5 - 1 files changed, 5 deletions(-) Index: llvm/include/llvm/Constant.h diff -u llvm/include/llvm/Constant.h:1.30 llvm/inclu

[llvm-commits] CVS: llvm/lib/VMCore/Constants.cpp

2006-09-27 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.160 -> 1.161 --- Log message: Use the new ManagedStatic class to explicitly manage static variables, eliminating static ctors/dtors --- Diffs of the changes: (+47 -71) Constants.cpp | 118 +++--

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

2006-09-27 Thread Chris Lattner
Changes in directory llvm/lib/Support: ManagedStatic.cpp added (r1.1) --- Log message: new helper class to provide more explicit management of static ctor/dtors. --- Diffs of the changes: (+53 -0) ManagedStatic.cpp | 53 + 1 files chang

[llvm-commits] CVS: llvm/include/llvm/Support/ManagedStatic.h

2006-09-27 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: ManagedStatic.h added (r1.1) --- Log message: new helper class to provide more explicit management of static ctor/dtors. --- Diffs of the changes: (+79 -0) ManagedStatic.h | 79 1 fil

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

2006-09-27 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: MRegisterInfo.h updated: 1.83 -> 1.84 --- Log message: - Added a hook processFunctionBeforeCalleeSaveScn(). This is called by PEI just before it determines which callee-save registers are to be spilled. This allows the target to make changes such a

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

2006-09-27 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: PHIElimination.cpp updated: 1.49 -> 1.50 --- Log message: re-re-revert this, back to the right revision. It currently breaks bisort/mst in olden among others. --- Diffs of the changes: (+24 -44) PHIElimination.cpp | 68 ++---

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

2006-09-27 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: PrologEpilogInserter.cpp updated: 1.59 -> 1.60 --- Log message: PEI now place callee save spills closest to the address pointed to by the incoming stack. This allows X86 backend to use push / pop in epilogue / prologue. --- Diffs of the changes: (+67 -1

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

2006-09-27 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: PHIElimination.cpp updated: 1.48 -> 1.49 --- Log message: re-revert this patch, bisort and mst are still broken in Olden. --- Diffs of the changes: (+3 -3) PHIElimination.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: ll

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

2006-09-27 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen: PHIElimination.cpp updated: 1.47 -> 1.48 --- Log message: Reapplying this patch. With the newest commits, the error in Olden/bisort has disappeared. --- Diffs of the changes: (+44 -24) PHIElimination.cpp | 68 ++--

[llvm-commits] CVS: llvm-test/External/SPEC/CFP2006/454.calculix/Makefile

2006-09-27 Thread Bill Wendling
Changes in directory llvm-test/External/SPEC/CFP2006/454.calculix: Makefile updated: 1.3 -> 1.4 --- Log message: Was outputing the wrong filename. Needed to have the correct recipe for some of the files. --- Diffs of the changes: (+11 -3) Makefile | 14 +++--- 1 files changed, 11

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

2006-09-27 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.264 -> 1.265 --- Log message: silence warnings in release build --- Diffs of the changes: (+14 -14) X86ISelLowering.cpp | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) Index:

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

2006-09-27 Thread Devang Patel
Changes in directory llvm/lib/Analysis: PostDominators.cpp updated: 1.60 -> 1.61 --- Log message: Fix DFS walk. Fix http://llvm.org/bugs/show_bug.cgi?id=923 --- Diffs of the changes: (+27 -14) PostDominators.cpp | 41 +++-- 1 files changed, 27 insertio

[llvm-commits] CVS: llvm-test/Makefile.programs

2006-09-27 Thread Jim Laskey
Changes in directory llvm-test: Makefile.programs updated: 1.228 -> 1.229 --- Log message: Setting LLCBETAOPTION to something useful --- Diffs of the changes: (+2 -2) Makefile.programs |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-test/Makefile.programs diff -u

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

2006-09-27 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: PHIElimination.cpp updated: 1.46 -> 1.47 --- Log message: Temporarily revert this. This breaks Olden/bisort on PPC --- Diffs of the changes: (+24 -44) PHIElimination.cpp | 68 ++--- 1 files changed, 2

[llvm-commits] CVS: llvm-test/Makefile.programs

2006-09-27 Thread Jim Laskey
Changes in directory llvm-test: Makefile.programs updated: 1.227 -> 1.228 --- Log message: Disable -combiner-alias-analysis LLCBETA for the time being --- Diffs of the changes: (+2 -2) Makefile.programs |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-test/Makefil

[llvm-commits] CVS: llvm/test/Regression/C++Frontend/2006-09-27-Debug-Protection.cpp

2006-09-27 Thread Jim Laskey
Changes in directory llvm/test/Regression/C++Frontend: 2006-09-27-Debug-Protection.cpp added (r1.1) --- Log message: Make sure C++ protection shows up in debug info --- Diffs of the changes: (+13 -0) 2006-09-27-Debug-Protection.cpp | 13 + 1 files changed, 13 insertions(+) I

[llvm-commits] CVS: llvm/utils/TableGen/AsmWriterEmitter.cpp

2006-09-27 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: AsmWriterEmitter.cpp updated: 1.43 -> 1.44 --- Log message: This: AggregateString += "\0\0"; Doesn't add two nuls to the AggregateString (for obvious reasons), which broke the asmprinter when the first character of an asm string was not literal text.

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

2006-09-27 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen: PHIElimination.cpp updated: 1.45 -> 1.46 --- Log message: PR878: http://llvm.org/PR878 : Instead of calculating the vreg to PHI use count everytime we get a function, do it up front in linear time (going through all of the instructions once). We create a