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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.1 -> 1.2 --- Log message: Bug fixes: assignment operator forgot to copy over size; copy ctor forgot to clear unused top bits. --- Diffs of the changes: (+6 -5) BitVector.h | 11 ++- 1 files changed, 6 insertions(+

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

2007-02-15 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: ScheduleDAG.cpp updated: 1.119 -> 1.120 --- Log message: Apply B Scott Michel's patch for PR1184: http://llvm.org/PR1184 , which improves diagnostics in an abort case. --- Diffs of the changes: (+16 -2) ScheduleDAG.cpp | 18 +++

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

2007-02-15 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: ScheduleDAG.cpp updated: 1.120 -> 1.121 --- Log message: fix indentation --- Diffs of the changes: (+2 -2) ScheduleDAG.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cp

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

2007-02-15 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.95 -> 1.96 --- Log message: For PR1202: http://llvm.org/PR1202 : Make sure we found an existing Alignment before overwriting it. --- Diffs of the changes: (+2 -1) TargetData.cpp |3 ++- 1 files changed, 2 insertions(+), 1

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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.2 -> 1.3 --- Log message: Inverted the condition by accident. --- Diffs of the changes: (+1 -1) BitVector.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/ADT/BitVector.h diff -u llvm/in

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

2007-02-15 Thread Chris Lattner
Changes in directory llvm/include/llvm: Value.h updated: 1.97 -> 1.98 --- Log message: Add a new Value::getNameStr method, which is preferred over getName. --- Diffs of the changes: (+2 -1) Value.h |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/include/llvm/Value

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

2007-02-15 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Value.cpp updated: 1.68 -> 1.69 --- Log message: Add a new Value::getNameStr method, which is preferred over getName. --- Diffs of the changes: (+1 -1) Value.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/Value.c

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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.3 -> 1.4 --- Log message: Eliminate new[0], just set Bits to NULL. --- Diffs of the changes: (+20 -11) BitVector.h | 31 --- 1 files changed, 20 insertions(+), 11 deletions(-) Index: llvm/incl

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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.4 -> 1.5 --- Log message: 1 -> 1L since BitWord has type unsigned long. --- Diffs of the changes: (+9 -9) BitVector.h | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) Index: llvm/include/llvm/ADT

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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.5 -> 1.6 --- Log message: Eliminate a redundent ctor; eliminate one more potential new [0]. --- Diffs of the changes: (+8 -10) BitVector.h | 18 -- 1 files changed, 8 insertions(+), 10 deletions(-) Index:

[llvm-commits] Bug 1202 fix

2007-02-15 Thread Scott Michel
Attached patch fixes bug 1202. Index: lib/Target/TargetData.cpp === --- lib/Target/TargetData.cpp (.../trunk) (revision 877) +++ lib/Target/TargetData.cpp (.../branches/llvm-spu) (revision 877) @@ -245,7 +245,8 @@ std::pair ins_resu

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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.6 -> 1.7 --- Log message: BitVector::count() bugs. --- Diffs of the changes: (+6 -1) BitVector.h |7 ++- 1 files changed, 6 insertions(+), 1 deletion(-) Index: llvm/include/llvm/ADT/BitVector.h diff -u llvm/include

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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.7 -> 1.8 --- Log message: Clear no longer deleting the bits to avoid mallocs. --- Diffs of the changes: (+1 -5) BitVector.h |6 +- 1 files changed, 1 insertion(+), 5 deletions(-) Index: llvm/include/llvm/ADT/BitVec

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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.8 -> 1.9 --- Log message: Merges two resize() variants. --- Diffs of the changes: (+3 -11) BitVector.h | 14 +++--- 1 files changed, 3 insertions(+), 11 deletions(-) Index: llvm/include/llvm/ADT/BitVector.h diff

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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.9 -> 1.10 --- Log message: operator== returns false when two bitvectors have different sizes. --- Diffs of the changes: (+3 -1) BitVector.h |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/include/l

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

2007-02-15 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.113 -> 1.114 --- Log message: Implement Function::getIntrinsicID without it needing to call Value::getName, which allocates a string. This speeds up instcombine on 447.dealII by 5%. --- Diffs of the changes: (+6 -3) Function.cp

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

2007-02-15 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: IntrinsicEmitter.cpp updated: 1.27 -> 1.28 --- Log message: Implement Function::getIntrinsicID without it needing to call Value::getName, which allocates a string. This speeds up instcombine on 447.dealII by 5%. --- Diffs of the changes: (+4 -2) I

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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.10 -> 1.11 --- Log message: Remove unnecessary checks. --- Diffs of the changes: (+5 -10) BitVector.h | 15 +-- 1 files changed, 5 insertions(+), 10 deletions(-) Index: llvm/include/llvm/ADT/BitVector.h diff

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

2007-02-15 Thread Chris Lattner
Changes in directory llvm/utils/TableGen: IntrinsicEmitter.cpp updated: 1.28 -> 1.29 --- Log message: the lengths of the strings are known, just use memcmp --- Diffs of the changes: (+1 -1) IntrinsicEmitter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/utils/T

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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.11 -> 1.12 --- Log message: BitVector::reference operator=(const reference& rhs) is unnecessary thanks to autoconvert to bool. --- Diffs of the changes: (+0 -8) BitVector.h |8 1 files changed, 8 deletions(-)

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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.12 -> 1.13 --- Log message: Missing a ; --- Diffs of the changes: (+2 -3) BitVector.h |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) Index: llvm/include/llvm/ADT/BitVector.h diff -u llvm/include/llvm/ADT/Bi

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-02-15 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.633 -> 1.634 --- Log message: switch an std::set to a SmallPtr set, this speeds up instcombine by 9.5% on 447.dealII --- Diffs of the changes: (+4 -3) InstructionCombining.cpp |7 --- 1 files chang

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

2007-02-15 Thread Reid Spencer
Evan, BitVector is still very broken. Please run the llvm/test suite. Numerous tests are failing, all in BitVector. This is preventing me from testing today. Reid. On Thu, 2007-02-15 at 13:29 -0600, Evan Cheng wrote: > > Changes in directory llvm/include/llvm/ADT: > > BitVector.h updated: 1.12

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

2007-02-15 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Value.cpp updated: 1.69 -> 1.70 --- Log message: rewrite Value::takeName to take advantage of the new symtab stuff. This causes it to require no allocations and no symtab lookups in the common case. This speeds up instcombine 9.2% on 447.dealII. --- Dif

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

2007-02-15 Thread Reid Spencer
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.13 -> 1.14 --- Log message: Make sure Capacity gets initialized too. --- Diffs of the changes: (+1 -0) BitVector.h |1 + 1 files changed, 1 insertion(+) Index: llvm/include/llvm/ADT/BitVector.h diff -u llvm/include/ll

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

2007-02-15 Thread Reid Spencer
This patch fixed the bulk of the BitVector failures. However, there is still a memory corruption that I'm working on. Reid. On Thu, 2007-02-15 at 14:14 -0600, Reid Spencer wrote: > > Changes in directory llvm/include/llvm/ADT: > > BitVector.h updated: 1.13 -> 1.14 > --- > Log message: > > Make

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

2007-02-15 Thread Reid Spencer
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.14 -> 1.15 --- Log message: Fix an off-by-one bug in computing the index of the word to clear. --- Diffs of the changes: (+4 -1) BitVector.h |5 - 1 files changed, 4 insertions(+), 1 deletion(-) Index: llvm/includ

[llvm-commits] CVS: llvm/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll

2007-02-15 Thread Reid Spencer
Changes in directory llvm/test/CodeGen/CBackend: 2007-01-08-ParamAttr-ICmp.ll updated: 1.2 -> 1.3 --- Log message: Update this test to compile properly and check against the correct string generated by the CBE. This is no longer an XFAIL. --- Diffs of the changes: (+9 -10) 2007-01-08-Para

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

2007-02-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: BitVector.h updated: 1.15 -> 1.16 --- Log message: Proper fix for the off-by-one bug in clear_unused_bits(). --- Diffs of the changes: (+3 -5) BitVector.h |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) Index: llvm/include/llvm

[llvm-commits] llvm-gcc4: display the LLVM type when printing type trees

2007-02-15 Thread Duncan Sands
For example: (gdb) call debug_tree(type) > Enjoy! Duncan. Index: gcc.llvm.master/gcc/print-tree.c === --- gcc.llvm.master.orig/gcc/print-tree.c 2007-02-15 20:31:54.0 +0100 +++ gcc.llvm.master/gcc/print-tree.c 2007-02-15 22:

[llvm-commits] CVS: llvm/CREDITS.TXT

2007-02-15 Thread Dan Gohman
Changes in directory llvm: CREDITS.TXT updated: 1.67 -> 1.68 --- Log message: Add myself to the credits. --- Diffs of the changes: (+4 -0) CREDITS.TXT |4 1 files changed, 4 insertions(+) Index: llvm/CREDITS.TXT diff -u llvm/CREDITS.TXT:1.67 llvm/CREDITS.TXT:1.68 --- llvm/CREDIT

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

2007-02-15 Thread Reid Spencer
Changes in directory llvm/include/llvm/Target: TargetData.h updated: 1.55 -> 1.56 --- Log message: For PR1195: http://llvm.org/PR1195 : PACKED_ALIGN -> VECTOR_ALIGN --- Diffs of the changes: (+1 -1) TargetData.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/includ

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

2007-02-15 Thread Reid Spencer
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.96 -> 1.97 --- Log message: For PR1195: http://llvm.org/PR1195 : PACKED_ALIGN -> VECTOR_ALIGN --- Diffs of the changes: (+4 -4) TargetData.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib

[llvm-commits] CVS: llvm/CREDITS.TXT

2007-02-15 Thread Evan Cheng
Changes in directory llvm: CREDITS.TXT updated: 1.68 -> 1.69 --- Log message: Update --- Diffs of the changes: (+1 -1) CREDITS.TXT |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/CREDITS.TXT diff -u llvm/CREDITS.TXT:1.68 llvm/CREDITS.TXT:1.69 --- llvm/CREDITS.TXT:1.6

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-02-15 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.634 -> 1.635 --- Log message: change some vectors to smallvectors. This speeds up instcombine on 447.dealII by 5%. --- Diffs of the changes: (+3 -3) InstructionCombining.cpp |6 +++--- 1 files changed

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp

2007-02-15 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.635 -> 1.636 --- Log message: convert more vectors to smallvectors, 2.8% speedup --- Diffs of the changes: (+3 -3) InstructionCombining.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)

[llvm-commits] CVS: llvm/include/llvm/Instruction.h Instructions.h

2007-02-15 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instruction.h updated: 1.80 -> 1.81 Instructions.h updated: 1.60 -> 1.61 --- Log message: make mayWriteToMemory a non-virtual function --- Diffs of the changes: (+2 -18) Instruction.h |2 +- Instructions.h | 18 +- 2 files chan

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

2007-02-15 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Instruction.cpp updated: 1.65 -> 1.66 --- Log message: make mayWriteToMemory a non-virtual function --- Diffs of the changes: (+19 -0) Instruction.cpp | 19 +++ 1 files changed, 19 insertions(+) Index: llvm/lib/VMCore/Instruction.cp

[llvm-commits] CVS: llvm-test/MultiSource/Applications/SIBsim4/

2007-02-15 Thread LLVM
Changes in directory llvm-test/MultiSource/Applications/SIBsim4: --- Log message: Directory /var/cvs/llvm/llvm-test/MultiSource/Applications/SIBsim4 added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits ma

[llvm-commits] mingw stuff backport

2007-02-15 Thread Anton Korobeynikov
Hello, Everyone. Attached patch is just backport from gcc mailine. More correctly: its backport of these patches: http://gcc.gnu.org/ml/gcc-cvs/2005-10/msg00474.html http://gcc.gnu.org/ml/gcc-cvs/2005-10/msg00718.html The main aim of patches is better handling of dll* attributes especially set o

[llvm-commits] CVS: llvm-test/MultiSource/Applications/Makefile

2007-02-15 Thread Nick Lewycky
Changes in directory llvm-test/MultiSource/Applications: Makefile updated: 1.26 -> 1.27 --- Log message: Add SIBsim4 to the test suite. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Applications/Makefile

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

2007-02-15 Thread Dale Johannesen
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.150 -> 1.151 --- Log message: test commit (blank line) --- Diffs of the changes: (+1 -0) AsmPrinter.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/CodeGen/AsmPrinter.cpp diff -u llvm/lib/CodeGen/AsmPrinter.cp

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

2007-02-15 Thread Andrew Lenharth
Changes in directory llvm/lib/Target/Alpha: README.txt updated: 1.7 -> 1.8 --- Log message: This was done recently --- Diffs of the changes: (+1 -3) README.txt |4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) Index: llvm/lib/Target/Alpha/README.txt diff -u llvm/lib/Target/Alph

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

2007-02-15 Thread Andrew Lenharth
Changes in directory llvm/lib/VMCore: Instruction.cpp updated: 1.66 -> 1.67 --- Log message: fix build --- Diffs of the changes: (+1 -0) Instruction.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/VMCore/Instruction.cpp diff -u llvm/lib/VMCore/Instruction.cpp:1.66 llvm/lib/

[llvm-commits] [llvm-gcc] BITWIDTH8.patch (please review/commit)

2007-02-15 Thread Reid Spencer
Devang, Please find attached the latest bitwidth attribute patch. This is a candidate for committing to llvm-gcc if it passes your review. The differences between this patch and the one you reviewed are: 1. All six of the bit reduction builtins have been removed (not needed). 2. I've hacked on th

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

2007-02-15 Thread Chris Lattner
Changes in directory llvm/docs: ProgrammersManual.html updated: 1.126 -> 1.127 --- Log message: update symtab section to reflect recent changes. --- Diffs of the changes: (+20 -147) ProgrammersManual.html | 167 + 1 files changed, 20 inserti

[llvm-commits] CVS: llvm/tools/llvm2cpp/CppWriter.cpp

2007-02-15 Thread Reid Spencer
Changes in directory llvm/tools/llvm2cpp: CppWriter.cpp updated: 1.40 -> 1.41 --- Log message: Add missing break statements! --- Diffs of the changes: (+12 -12) CppWriter.cpp | 24 1 files changed, 12 insertions(+), 12 deletions(-) Index: llvm/tools/llvm2cpp/Cp