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

2007-03-29 Thread Zhou Sheng
在 2007-03-29四的 23:20 -0700,Reid Spencer写道: > On Thu, 2007-03-29 at 23:08 -0700, Chris Lattner wrote: > > On Mar 28, 2007, at 6:57 PM, Zhou Sheng wrote: > > > > > @@ -540,8 +540,10 @@ > > >if (I->getOpcode() == Instruction::Shl) > > > if ((CST = dyn_cast(I->getOperand(1 { > > >

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

2007-03-29 Thread Duncan Sands
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.58 -> 1.59 --- Log message: Correct typo. --- Diffs of the changes: (+1 -1) APInt.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/ADT/APInt.h diff -u llvm/include/llvm/ADT/APInt.h:1.58 llv

Re: [llvm-commits] CVS: llvm/include/llvm/System/Path.h

2007-03-29 Thread Reid Spencer
On Thu, 2007-03-29 at 23:28 -0700, Chris Lattner wrote: > On Mar 29, 2007, at 11:17 PM, Reid Spencer wrote: > > > On Thu, 2007-03-29 at 22:59 -0700, Chris Lattner wrote: > >>> > >>> For PR789: http://llvm.org/PR789 : > >>> * Add a method: bool isAbsolute() const, which determines if the > >>> path

Re: [llvm-commits] CVS: llvm/include/llvm/System/Path.h

2007-03-29 Thread Chris Lattner
On Mar 29, 2007, at 11:17 PM, Reid Spencer wrote: > On Thu, 2007-03-29 at 22:59 -0700, Chris Lattner wrote: >>> >>> For PR789: http://llvm.org/PR789 : >>> * Add a method: bool isAbsolute() const, which determines if the >>> path name >>> is absolute or not. >>> * Implement caching of file statu

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

2007-03-29 Thread Chris Lattner
On Mar 28, 2007, at 7:26 PM, Zhou Sheng wrote: > InstructionCombining.cpp updated: 1.706 -> 1.707 > --- > Log message: > > Clean up codes in InstCombiner::SimplifyDemandedBits(): > 1. Line out nested call of APInt::zext/trunc. > 2. Make more use of APInt::getHighBitsSet/getLowBitsSet. > 3. Use AP

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

2007-03-29 Thread Reid Spencer
On Thu, 2007-03-29 at 23:08 -0700, Chris Lattner wrote: > On Mar 28, 2007, at 6:57 PM, Zhou Sheng wrote: > > > @@ -540,8 +540,10 @@ > >if (I->getOpcode() == Instruction::Shl) > > if ((CST = dyn_cast(I->getOperand(1 { > >// The multiplier is really 1 << CST. > > -

Re: [llvm-commits] CVS: llvm/include/llvm/System/Path.h

2007-03-29 Thread Reid Spencer
On Thu, 2007-03-29 at 22:59 -0700, Chris Lattner wrote: > > > > For PR789: http://llvm.org/PR789 : > > * Add a method: bool isAbsolute() const, which determines if the > > path name > > is absolute or not. > > * Implement caching of file status information in the Path object. > > Allow it > >

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

2007-03-29 Thread Reid Spencer
On Thu, 2007-03-29 at 22:51 -0700, Chris Lattner wrote: > On Mar 29, 2007, at 12:06 PM, Reid Spencer wrote: > > > > > +LLVMMAKE := $(LLVM_SRC_ROOT)/make > > Was this intentional? Erm, probably not :) Its part of the planned makefile changes, which I'm not sure I'm going to do now since we're go

[llvm-commits] [125531] Apply Anton's patch to work-around PR879 on linux.

2007-03-29 Thread clattner
Revision: 125531 Author: clattner Date: 2007-03-29 23:08:44 -0700 (Thu, 29 Mar 2007) Log Message: --- Apply Anton's patch to work-around PR879 on linux. Modified Paths: -- apple-local/branches/llvm/gcc/config/i386/i386.h Modified: apple-local/branches/llvm/gcc/confi

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

2007-03-29 Thread Chris Lattner
On Mar 28, 2007, at 6:57 PM, Zhou Sheng wrote: > @@ -540,8 +540,10 @@ >if (I->getOpcode() == Instruction::Shl) > if ((CST = dyn_cast(I->getOperand(1 { >// The multiplier is really 1 << CST. > - Constant *One = ConstantInt::get(V->getType(), 1); > -

Re: [llvm-commits] CVS: llvm/lib/System/Unix/MappedFile.inc

2007-03-29 Thread Chris Lattner
> Use the stat information in the Path object, if it is already > obtained. This > avoids a call to ::fstat by MappedFile when the file size > information was > already obtained by the Path object. Interesting approach. The problem is that fstat is significantly faster than stat. How about

Re: [llvm-commits] CVS: llvm/include/llvm/System/Path.h

2007-03-29 Thread Chris Lattner
> > For PR789: http://llvm.org/PR789 : > * Add a method: bool isAbsolute() const, which determines if the > path name > is absolute or not. > * Implement caching of file status information in the Path object. > Allow it > to be updated forcefully or lazily re-fetched from the cached value.

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

2007-03-29 Thread Chris Lattner
On Mar 29, 2007, at 12:06 PM, Reid Spencer wrote: > > +LLVMMAKE := $(LLVM_SRC_ROOT)/make Was this intentional? -Chris > PROJ_bindir := $(DESTDIR)$(PROJ_prefix)/bin > PROJ_libdir := $(DESTDIR)$(PROJ_prefix)/lib > PROJ_datadir:= $(DESTDIR)$(PROJ_prefix)/share > > > Index: llvm/Mak

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

2007-03-29 Thread Zhou Sheng
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.709 -> 1.710 --- Log message: Use APInt operation instead of ConstantExpr::getXX. --- Diffs of the changes: (+6 -6) InstructionCombining.cpp | 12 ++-- 1 files changed, 6 insertions(+), 6 deletio

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

2007-03-29 Thread Zhou Sheng
Changes in directory llvm/include/llvm: Constants.h updated: 1.141 -> 1.142 --- Log message: Rename and correct the method "greaterOrEqual". --- Diffs of the changes: (+2 -2) Constants.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include/llvm/Constants.h di

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

2007-03-29 Thread Chris Lattner
On Mar 29, 2007, at 9:31 PM, Zhou Sheng wrote: > 在 2007-03-29四的 21:02 -0700,Chris Lattner写道: >>> + /// This function will return true iff this constant represents >>> a value with >>> + /// active bits bigger than 64 bits or a value greater than the >>> given uint64_t >>> + /// value. >>> + /

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

2007-03-29 Thread Zhou Sheng
在 2007-03-29四的 21:02 -0700,Chris Lattner写道: > > + /// This function will return true iff this constant represents > > a value with > > + /// active bits bigger than 64 bits or a value greater than the > > given uint64_t > > + /// value. > > + /// @returns true iff this constant is greater o

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

2007-03-29 Thread Reid Spencer
On Thu, 2007-03-29 at 21:02 -0700, Chris Lattner wrote: > > + /// This function will return true iff this constant represents > > a value with > > + /// active bits bigger than 64 bits or a value greater than the > > given uint64_t > > + /// value. > > + /// @returns true iff this constant

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

2007-03-29 Thread Chris Lattner
> + /// This function will return true iff this constant represents > a value with > + /// active bits bigger than 64 bits or a value greater than the > given uint64_t > + /// value. > + /// @returns true iff this constant is greater or equal to the > given number. > + /// @brief Determi

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

2007-03-29 Thread Zhou Sheng
Changes in directory llvm/include/llvm: Constants.h updated: 1.140 -> 1.141 --- Log message: Add two utility methods into ConstantInt. --- Diffs of the changes: (+16 -0) Constants.h | 16 1 files changed, 16 insertions(+) Index: llvm/include/llvm/Constants.h diff -u ll

Re: [llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/Makefile

2007-03-29 Thread Jeff Cohen
And that should be the last of the src != obj fixes. Jeff Cohen wrote: > Changes in directory llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ: > > Makefile updated: 1.2 -> 1.3 > --- > Log message: > > Fix for src != obj. > > --- > Diffs of the changes: (+1 -1) > > Makefile |2 +- > 1 fi

[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.cpp.cvs llvmAsmParser.y.cvs

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.cpp.cvs updated: 1.79 -> 1.80 llvmAsmParser.y.cvs updated: 1.80 -> 1.81 --- Log message: For PR1289: http://llvm.org/PR1289 : Regenerate --- Diffs of the changes: (+64 -0) llvmAsmParser.cpp.cvs | 32 l

[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.334 -> 1.335 --- Log message: For PR1289: http://llvm.org/PR1289 : Check at the end of the parse that there are no unresolved types and no undefined values. Issue errors if there are. This gets rid of the need for implementatio

[llvm-commits] CVS: llvm/test/Assembler/2003-12-30-TypeMapInvalidMemory.llx

2007-03-29 Thread Reid Spencer
Changes in directory llvm/test/Assembler: 2003-12-30-TypeMapInvalidMemory.llx updated: 1.8 -> 1.9 --- Log message: For PR1289: http://llvm.org/PR1289 : Remove an unneeded instance of "implementation" that soon won't be supported. --- Diffs of the changes: (+1 -3) 2003-12-30-TypeMapInvalidM

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ/Makefile

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/Prolangs-C++/employ: Makefile updated: 1.2 -> 1.3 --- Log message: Fix for src != obj. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/Prolang

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/security-sha/Makefile

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/security-sha: Makefile updated: 1.1 -> 1.2 --- Log message: Fix for src != obj. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/MiBenc

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/security-rijndael/Makefile output_large.dec

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/security-rijndael: Makefile updated: 1.1 -> 1.2 output_large.dec (r1.1) removed --- Log message: Fix for src != obj. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: ll

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/security-blowfish/input_large.asc input_small.asc

2007-03-29 Thread LLVM
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/security-blowfish: input_large.asc (r1.1) removed input_small.asc (r1.1) removed --- Log message: Remove unused test data. --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/security-blowfish/Makefile

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/security-blowfish: Makefile updated: 1.1 -> 1.2 --- Log message: Program doesn't take files as arguments. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/Mul

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/office-ispell/Makefile

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/office-ispell: Makefile updated: 1.2 -> 1.3 --- Log message: Fix for src != obj. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/MiBen

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/McCat/03-testtrie/Makefile

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/McCat/03-testtrie: Makefile updated: 1.5 -> 1.6 --- Log message: Fix for src != obj. --- Diffs of the changes: (+2 -2) Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-test/MultiSource/Benchmarks/McCat

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/network-patricia/Makefile

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/network-patricia: Makefile updated: 1.1 -> 1.2 --- Log message: Fix for src != obj. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/Mi

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/network-dijkstra/Makefile

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/network-dijkstra: Makefile updated: 1.1 -> 1.2 --- Log message: Fix for src != obj. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/Mi

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/consumer-typeset/.cvsignore Makefile large.lout.ld output_large.ps

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/consumer-typeset: .cvsignore updated: 1.1 -> 1.2 Makefile updated: 1.2 -> 1.3 large.lout.ld (r1.1) removed output_large.ps (r1.1) removed --- Log message: Fix for src != obj. --- Diffs of the changes: (+3 -1) .cvsignore |2 ++

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

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Applications/minisat: Makefile updated: 1.10 -> 1.11 --- Log message: oops. --- Diffs of the changes: (+2 -2) Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-test/MultiSource/Applications/minisat/Makefile diff -

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/automotive-susan/Makefile output_large.smoothing.pgm

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/automotive-susan: Makefile updated: 1.1 -> 1.2 output_large.smoothing.pgm (r1.1) removed --- Log message: Fix for src != dir. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-)

[llvm-commits] CVS: llvm/lib/Target/X86/X86CallingConv.td

2007-03-29 Thread Bill Wendling
Changes in directory llvm/lib/Target/X86: X86CallingConv.td updated: 1.10 -> 1.11 --- Log message: Add MMX calling conventions. --- Diffs of the changes: (+14 -4) X86CallingConv.td | 18 ++ 1 files changed, 14 insertions(+), 4 deletions(-) Index: llvm/lib/Target/X86/X86

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/McCat/18-imp/Makefile main.c

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/McCat/18-imp: Makefile updated: 1.4 -> 1.5 main.c updated: 1.1 -> 1.2 --- Log message: Fix for src != obj. --- Diffs of the changes: (+6 -2) Makefile |2 +- main.c |6 +- 2 files changed, 6 insertions(+), 2 deletions(-) I

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/McCat/15-trie/Makefile

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/McCat/15-trie: Makefile updated: 1.4 -> 1.5 --- Log message: Fix for src != obj. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/McCat/15-trie

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

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Applications/minisat: Makefile updated: 1.9 -> 1.10 --- Log message: Fix for src != obj. --- Diffs of the changes: (+2 -2) Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-test/MultiSource/Applications/minisat/Ma

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/consumer-jpeg/Makefile output_large_decode.ppm

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/consumer-jpeg: Makefile updated: 1.2 -> 1.3 output_large_decode.ppm (r1.1) removed --- Log message: Do not keep test output in repository. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 d

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/sim/Makefile sim.c

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/sim: Makefile updated: 1.5 -> 1.6 sim.c updated: 1.5 -> 1.6 --- Log message: Fix for src != obj. --- Diffs of the changes: (+5 -3) Makefile |2 ++ sim.c|6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) Index: llvm

[llvm-commits] CVS: llvm-test/MultiSource/Applications/JM/lencod/data/encoder.cfg

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Applications/JM/lencod/data: encoder.cfg updated: 1.4 -> 1.5 --- Log message: More src != obj corrections. --- Diffs of the changes: (+3 -3) encoder.cfg |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm-test/MultiSource/

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

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Applications/JM/lencod: Makefile updated: 1.3 -> 1.4 --- Log message: More src != obj corrections. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Applications/JM/l

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

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Applications/JM/ldecod: Makefile updated: 1.8 -> 1.9 --- Log message: Put test output in Output directory. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Applicati

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/consumer-lame/Makefile output_large.mp3

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/consumer-lame: Makefile updated: 1.2 -> 1.3 output_large.mp3 (r1.1) removed --- Log message: Fix for src != obj. Don't keep test output in repository. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 inse

[llvm-commits] [125528] Apply Geoff's patch to fix bootstrap failures.

2007-03-29 Thread dpatel
Revision: 125528 Author: dpatel Date: 2007-03-29 15:06:04 -0700 (Thu, 29 Mar 2007) Log Message: --- Apply Geoff's patch to fix bootstrap failures. Modified Paths: -- apple-local/branches/llvm/ChangeLog.apple apple-local/branches/llvm/build_gcc Modified: apple-lo

[llvm-commits] CVS: llvm-www/pubs/2007-06-10-PLDI-DSA.html

2007-03-29 Thread Andrew Lenharth
Changes in directory llvm-www/pubs: 2007-06-10-PLDI-DSA.html updated: 1.1 -> 1.2 --- Log message: fix bibtex entry --- Diffs of the changes: (+1 -1) 2007-06-10-PLDI-DSA.html |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-www/pubs/2007-06-10-PLDI-DSA.html diff -u llv

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

2007-03-29 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: README-Thumb.txt updated: 1.9 -> 1.10 --- Log message: New entry. --- Diffs of the changes: (+5 -0) README-Thumb.txt |5 + 1 files changed, 5 insertions(+) Index: llvm/lib/Target/ARM/README-Thumb.txt diff -u llvm/lib/Target/ARM/README-Thum

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrThumb.td

2007-03-29 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrThumb.td updated: 1.19 -> 1.20 --- Log message: Can't re-materialize mov r, imm in thumb since mov would clobber the condition code. --- Diffs of the changes: (+1 -1) ARMInstrThumb.td |2 +- 1 files changed, 1 insertion(+), 1 deletion(-

[llvm-commits] CVS: llvm/tools/llvm-nm/llvm-nm.cpp

2007-03-29 Thread Reid Spencer
Changes in directory llvm/tools/llvm-nm: llvm-nm.cpp updated: 1.32 -> 1.33 --- Log message: Remove some non-sensical logic that prevented llvm-nm from working on any file other than one named "-". --- Diffs of the changes: (+0 -5) llvm-nm.cpp |5 - 1 files changed, 5 deletions(-)

[llvm-commits] CVS: llvm/lib/System/Unix/MappedFile.inc

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/System/Unix: MappedFile.inc updated: 1.18 -> 1.19 --- Log message: Use the stat information in the Path object, if it is already obtained. This avoids a call to ::fstat by MappedFile when the file size information was already obtained by the Path object. --- Diff

[llvm-commits] CVS: llvm/lib/System/Unix/Path.inc Signals.inc

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/System/Unix: Path.inc updated: 1.60 -> 1.61 Signals.inc updated: 1.15 -> 1.16 --- Log message: For PR789: http://llvm.org/PR789 : Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it

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

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Archive: Archive.cpp updated: 1.18 -> 1.19 ArchiveWriter.cpp updated: 1.35 -> 1.36 --- Log message: For PR789: http://llvm.org/PR789 : Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rathe

[llvm-commits] CVS: llvm/include/llvm/System/Path.h

2007-03-29 Thread Reid Spencer
Changes in directory llvm/include/llvm/System: Path.h updated: 1.47 -> 1.48 --- Log message: For PR789: http://llvm.org/PR789 : Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function ac

[llvm-commits] CVS: llvm/tools/llvmc/CompilerDriver.cpp

2007-03-29 Thread Reid Spencer
Changes in directory llvm/tools/llvmc: CompilerDriver.cpp updated: 1.45 -> 1.46 --- Log message: For PR789: http://llvm.org/PR789 : Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the functio

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

2007-03-29 Thread Reid Spencer
Changes in directory llvm: Makefile.config.in updated: 1.74 -> 1.75 Makefile.rules updated: 1.428 -> 1.429 --- Log message: For PR789: http://llvm.org/PR789 : Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it.

[llvm-commits] CVS: llvm-stacker/Makefile.common.in

2007-03-29 Thread Reid Spencer
Changes in directory llvm-stacker: Makefile.common.in updated: 1.3 -> 1.4 --- Log message: For PR789: http://llvm.org/PR789 : Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function acco

[llvm-commits] CVS: llvm/lib/System/Win32/Path.inc Signals.inc

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/System/Win32: Path.inc updated: 1.62 -> 1.63 Signals.inc updated: 1.22 -> 1.23 --- Log message: For PR789: http://llvm.org/PR789 : Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy i

[llvm-commits] CVS: llvm/lib/Debugger/ProgramInfo.cpp

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/Debugger: ProgramInfo.cpp updated: 1.20 -> 1.21 --- Log message: For PR789: http://llvm.org/PR789 : Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function

[llvm-commits] CVS: llvm/tools/llvm-db/Commands.cpp

2007-03-29 Thread Reid Spencer
Changes in directory llvm/tools/llvm-db: Commands.cpp updated: 1.10 -> 1.11 --- Log message: For PR789: http://llvm.org/PR789 : Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function ac

[llvm-commits] CVS: llvm/tools/llvm-ar/llvm-ar.cpp

2007-03-29 Thread Reid Spencer
Changes in directory llvm/tools/llvm-ar: llvm-ar.cpp updated: 1.41 -> 1.42 --- Log message: For PR789: http://llvm.org/PR789 : Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function acc

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

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/Support: FileUtilities.cpp updated: 1.54 -> 1.55 --- Log message: For PR789: http://llvm.org/PR789 : Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function

[llvm-commits] CVS: llvm-stacker/lib/compiler/Makefile

2007-03-29 Thread Reid Spencer
Changes in directory llvm-stacker/lib/compiler: Makefile updated: 1.11 -> 1.12 --- Log message: For PR789: http://llvm.org/PR789 : Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function

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

2007-03-29 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.243 -> 1.244 Reader.h updated: 1.50 -> 1.51 --- Log message: the bytecode reader supports dematerializeFunction --- Diffs of the changes: (+22 -7) Reader.cpp |3 --- Reader.h | 26 ++ 2 fil

[llvm-commits] CVS: llvm/test/Assembler/2003-12-30-TypeMapInvalidMemory.llx

2007-03-29 Thread Reid Spencer
Changes in directory llvm/test/Assembler: 2003-12-30-TypeMapInvalidMemory.llx updated: 1.7 -> 1.8 --- Log message: checkpoint -> implementation. This really needs to just drop the need for a keyword by having the assembler check for incomplete types and values upon end-of-file. --- Diffs of t

[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y Lexer.l

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.333 -> 1.334 Lexer.l updated: 1.102 -> 1.103 --- Log message: Give users a grace period on the implementation keyword. This *will* get removed in a few days. --- Diffs of the changes: (+3 -3) Lexer.l |2 +- llv

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

2007-03-29 Thread Chris Lattner
Changes in directory llvm/include/llvm: ModuleProvider.h updated: 1.13 -> 1.14 --- Log message: add a hook to demat functions. --- Diffs of the changes: (+7 -0) ModuleProvider.h |7 +++ 1 files changed, 7 insertions(+) Index: llvm/include/llvm/ModuleProvider.h diff -u llvm/includ

[llvm-commits] CVS: llvm/Makefile

2007-03-29 Thread Chris Lattner
Changes in directory llvm: Makefile updated: 1.70 -> 1.71 --- Log message: don't build runtime for now, ever --- Diffs of the changes: (+5 -3) Makefile |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) Index: llvm/Makefile diff -u llvm/Makefile:1.70 llvm/Makefile:1.71 ---

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

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Applications/JM/ldecod: Makefile updated: 1.7 -> 1.8 --- Log message: Don't put program output back in src tree. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/App

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/telecomm-gsm/Makefile

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/telecomm-gsm: Makefile updated: 1.2 -> 1.3 --- Log message: Fix for src != obj. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/MiBenc

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/telecomm-adpcm/Makefile

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/telecomm-adpcm: Makefile updated: 1.1 -> 1.2 --- Log message: Fix for src != obj. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/MiBe

Re: [llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/consumer-lame/Makefile lame.c

2007-03-29 Thread Chris Lattner
On Mar 29, 2007, at 9:54 AM, Jeff Cohen wrote: > Don't include header files from within a function. Aww, you're no fun. :) Thanks for all the fixes Jeff! -Chris ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman

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

2007-03-29 Thread Jeff Cohen
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.330 -> 1.331 --- Log message: MS C does have inlining after all, just uses _inline instead of inline. --- Diffs of the changes: (+1 -1) CBackend.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm

[llvm-commits] CVS: llvm/tools/llvm-ar/llvm-ar.cpp

2007-03-29 Thread Jeff Cohen
Changes in directory llvm/tools/llvm-ar: llvm-ar.cpp updated: 1.40 -> 1.41 --- Log message: getFileStatus has a new parameter (caught by VC++). --- Diffs of the changes: (+2 -2) llvm-ar.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/tools/llvm-ar/llvm-ar.cpp

[llvm-commits] CVS: llvm/include/llvm/System/Path.h

2007-03-29 Thread Jeff Cohen
Changes in directory llvm/include/llvm/System: Path.h updated: 1.46 -> 1.47 --- Log message: uniqueID is a uint64_t (caught by VC++) --- Diffs of the changes: (+1 -1) Path.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/System/Path.h diff -u llvm/inclu

[llvm-commits] CVS: llvm/lib/System/Win32/Path.inc

2007-03-29 Thread Jeff Cohen
Changes in directory llvm/lib/System/Win32: Path.inc updated: 1.61 -> 1.62 --- Log message: Determine absolute paths the correct way :) --- Diffs of the changes: (+9 -3) Path.inc | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) Index: llvm/lib/System/Win32/Path.inc di

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/telecomm-CRC32/Makefile

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/telecomm-CRC32: Makefile updated: 1.1 -> 1.2 --- Log message: Fix for src != obj. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/MiBe

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/office-ispell/Makefile config.h

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/office-ispell: Makefile updated: 1.1 -> 1.2 config.h updated: 1.1 -> 1.2 --- Log message: Fix for src != obj. Don't use obsolete header file. --- Diffs of the changes: (+7 -3) Makefile |2 +- config.h |8 ++-- 2 file

[llvm-commits] CVS: llvm/lib/System/Win32/Path.inc

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/System/Win32: Path.inc updated: 1.60 -> 1.61 --- Log message: Add a uniqueID field to the FileStatus structure for Paths. This will map to the inode number on Unix and something far less unique on Windows. The windows case needs to be improved. --- Diffs of the c

[llvm-commits] CVS: llvm/include/llvm/System/Path.h

2007-03-29 Thread Reid Spencer
Changes in directory llvm/include/llvm/System: Path.h updated: 1.45 -> 1.46 --- Log message: Add a uniqueID field to the FileStatus structure for Paths. This will map to the inode number on Unix and something far less unique on Windows. The windows case needs to be improved. --- Diffs of the

[llvm-commits] CVS: llvm/lib/System/Unix/Path.inc

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/System/Unix: Path.inc updated: 1.59 -> 1.60 --- Log message: Add a uniqueID field to the FileStatus structure for Paths. This will map to the inode number on Unix and something far less unique on Windows. The windows case needs to be improved. --- Diffs of the ch

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/consumer-lame/Makefile lame.c

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/consumer-lame: Makefile updated: 1.1 -> 1.2 lame.c updated: 1.1 -> 1.2 --- Log message: Fix for src != obj Don't include header files from within a function. --- Diffs of the changes: (+4 -4) Makefile |2 +- lame.c |6

[llvm-commits] CVS: llvm/include/llvm/System/Path.h

2007-03-29 Thread Reid Spencer
Changes in directory llvm/include/llvm/System: Path.h updated: 1.44 -> 1.45 --- Log message: Don't forget to delete the FileStatus structure on destruction of Path. --- Diffs of the changes: (+1 -0) Path.h |1 + 1 files changed, 1 insertion(+) Index: llvm/include/llvm/System/Path.h d

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

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Archive: Archive.cpp updated: 1.17 -> 1.18 ArchiveWriter.cpp updated: 1.34 -> 1.35 --- Log message: For PR789: http://llvm.org/PR789 : Updates for change in interface of getFileStatus method of sys::Path class. --- Diffs of the changes: (+2 -2) Archiv

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

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/Support: FileUtilities.cpp updated: 1.53 -> 1.54 --- Log message: For PR789: http://llvm.org/PR789 : Updates for change in interface of getFileStatus method of sys::Path class. --- Diffs of the changes: (+2 -2) FileUtilities.cpp |4 ++-- 1 files changed, 2

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/consumer-jpeg/Makefile

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/consumer-jpeg: Makefile updated: 1.1 -> 1.2 --- Log message: Fix for src != obj --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/MiBenc

[llvm-commits] CVS: llvm/lib/System/Unix/Path.inc

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/System/Unix: Path.inc updated: 1.58 -> 1.59 --- Log message: For PR789: http://llvm.org/PR789 : * Add a method: bool isAbsolute() const, which determines if the path name is absolute or not. * Implement caching of file status information in the Path object. Allow

[llvm-commits] CVS: llvm/include/llvm/System/Path.h

2007-03-29 Thread Reid Spencer
Changes in directory llvm/include/llvm/System: Path.h updated: 1.43 -> 1.44 --- Log message: For PR789: http://llvm.org/PR789 : * Add a method: bool isAbsolute() const, which determines if the path name is absolute or not. * Implement caching of file status information in the Path object. All

[llvm-commits] CVS: llvm/lib/System/Win32/Path.inc

2007-03-29 Thread Reid Spencer
Changes in directory llvm/lib/System/Win32: Path.inc updated: 1.59 -> 1.60 --- Log message: For PR789: http://llvm.org/PR789 : * Add a method: bool isAbsolute() const, which determines if the path name is absolute or not. * Implement caching of file status information in the Path object. Allo

[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/automotive-susan/susan.c

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/automotive-susan: susan.c updated: 1.1 -> 1.2 --- Log message: Fix for other BSDs. --- Diffs of the changes: (+1 -1) susan.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/MiBe

[llvm-commits] CVS: llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Applications/hexxagon: hexxagonmove.cpp updated: 1.4 -> 1.5 --- Log message: Correct OpenBSD oversight. --- Diffs of the changes: (+1 -1) hexxagonmove.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Appl

[llvm-commits] CVS: llvm-test/MultiSource/Applications/JM/ldecod/image.c

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Applications/JM/ldecod: image.c updated: 1.5 -> 1.6 --- Log message: Improve BSD ftime hack and apply it to another test. --- Diffs of the changes: (+12 -17) image.c | 29 - 1 files changed, 12 insertions(+), 17 delet

[llvm-commits] CVS: llvm-test/MultiSource/Applications/JM/lencod/image.c

2007-03-29 Thread Jeff Cohen
Changes in directory llvm-test/MultiSource/Applications/JM/lencod: image.c updated: 1.4 -> 1.5 --- Log message: Improve BSD ftime hack and apply it to another test. --- Diffs of the changes: (+14 -0) image.c | 14 ++ 1 files changed, 14 insertions(+) Index: llvm-test/MultiS

[llvm-commits] CVS: llvm/configure

2007-03-29 Thread Reid Spencer
Changes in directory llvm: configure updated: 1.271 -> 1.272 --- Log message: Regenerate for PR1283: http://llvm.org/PR1283 fix. --- Diffs of the changes: (+2 -1) configure |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/configure diff -u llvm/configure:1.271 llv

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

2007-03-29 Thread Reid Spencer
Changes in directory llvm/autoconf: configure.ac updated: 1.266 -> 1.267 --- Log message: For PR1283: http://llvm.org/PR1283 : Change the llvm-gcc sanity check to look for "target datalayout" instead of "implementation". The implementation keyword is no longer generated by llvm or llvm-gcc. -

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

2007-03-29 Thread Zhou Sheng
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.708 -> 1.709 --- Log message: 1. Make more use of APInt::getHighBitsSet/getLowBitsSet. 2. Let APInt variable do the binary operation stuff instead of using ConstantExpr::getXXX. --- Diffs of the changes: