[llvm-commits] CVS: llvm/test/Assembler/2007-02-07-UpgradeCSRETCC.ll

2007-02-07 Thread Reid Spencer
Changes in directory llvm/test/Assembler: 2007-02-07-UpgradeCSRETCC.ll added (r1.1) --- Log message: For PR1187: http://llvm.org/PR1187 : Add some interesting CSRETCC upgrade cases. --- Diffs of the changes: (+21 -0) 2007-02-07-UpgradeCSRETCC.ll | 21 + 1 files change

[llvm-commits] CVS: llvm-www/OpenProjects.html

2007-02-07 Thread Chris Lattner
Changes in directory llvm-www: OpenProjects.html updated: 1.18 -> 1.19 --- Log message: add an open project, with a link! --- Diffs of the changes: (+5 -2) OpenProjects.html |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) Index: llvm-www/OpenProjects.html diff -u llvm-ww

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

2007-02-07 Thread Bill Wendling
Changes in directory llvm/include/llvm/CodeGen: FileWriters.h updated: 1.1 -> 1.2 --- Log message: Fixed comments. --- Diffs of the changes: (+1 -1) FileWriters.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/CodeGen/FileWriters.h diff -u llvm/include

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

2007-02-07 Thread Bill Wendling
Changes in directory llvm/lib/Target/PowerPC: PPCMachOWriterInfo.cpp updated: 1.3 -> 1.4 --- Log message: Fixed comments. --- Diffs of the changes: (+2 -3) PPCMachOWriterInfo.cpp |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) Index: llvm/lib/Target/PowerPC/PPCMachOWriterI

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

2007-02-07 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: VirtRegMap.cpp updated: 1.94 -> 1.95 --- Log message: Fixed a long standing spiller bug that's exposed by Thumb: The code sequence before the spiller is something like: = tMOVrr %reg1117 = tMOVrr %reg1078 = tLSLri %reg1117

[llvm-commits] [123569] Read bytecodes from PCH file.

2007-02-07 Thread dpatel
Revision: 123569 Author: dpatel Date: 2007-02-07 20:36:09 -0800 (Wed, 07 Feb 2007) Log Message: --- Read bytecodes from PCH file. Modified Paths: -- apple-local/branches/llvm/gcc/Makefile.in apple-local/branches/llvm/gcc/c-pch.c apple-local/branches/llvm/gcc/

[llvm-commits] [123568] Complete support for the GCC address-of-label extension (most was

2007-02-07 Thread clattner
Revision: 123568 Author: clattner Date: 2007-02-07 20:34:00 -0800 (Wed, 07 Feb 2007) Log Message: --- Complete support for the GCC address-of-label extension (most was already implemented) and do some other minor cleanup. This implements PR947 and test/CFrontend/2007-02-07-AddrLabel

[llvm-commits] CVS: llvm/test/CFrontend/2007-02-07-AddrLabel.c

2007-02-07 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: 2007-02-07-AddrLabel.c added (r1.1) --- Log message: New testcase for PR947: http://llvm.org/PR947 --- Diffs of the changes: (+10 -0) 2007-02-07-AddrLabel.c | 10 ++ 1 files changed, 10 insertions(+) Index: llvm/test/CFrontend/2007-02-

[llvm-commits] CVS: llvm/test/CFrontend/2003-01-30-UnionInit.c 2003-08-30-AggregateInitializer.c 2004-01-01-UnknownInitSize.c 2005-10-18-VariableSizedElementCrash.c 2006-01-13-StackSave.c 2006-01-23-F

2007-02-07 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: 2003-01-30-UnionInit.c updated: 1.6 -> 1.7 2003-08-30-AggregateInitializer.c updated: 1.6 -> 1.7 2004-01-01-UnknownInitSize.c updated: 1.6 -> 1.7 2005-10-18-VariableSizedElementCrash.c updated: 1.2 -> 1.3 2006-01-13-StackSave.c updated: 1.2 -> 1.3 2006-0

[llvm-commits] [123565] Need to check the correct return value for the call to addPassesToEmitFile .

2007-02-07 Thread bwendlin
Revision: 123565 Author: bwendlin Date: 2007-02-07 17:42:33 -0800 (Wed, 07 Feb 2007) Log Message: --- Need to check the correct return value for the call to addPassesToEmitFile. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp Modified: apple-local/

[llvm-commits] [123567] The "addPassesToEmitFile" method should have the "*Finish" method called afterwards.

2007-02-07 Thread bwendlin
Revision: 123567 Author: bwendlin Date: 2007-02-07 18:16:06 -0800 (Wed, 07 Feb 2007) Log Message: --- The "addPassesToEmitFile" method should have the "*Finish" method called afterwards. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-backend.cpp Modified: ap

[llvm-commits] [PATCH] gcc/llvm-backend.cpp

2007-02-07 Thread Bill Wendling
Applied this patch. This goes along with the changes I checked in that removed the MachO and ELF writers from LLI. -bw Index: gcc/llvm-backend.cpp === --- gcc/llvm-backend.cpp(revision 123562) +++ gcc/llvm-backend.cpp

[llvm-commits] [123566] Use getDeclaration to simplify code.

2007-02-07 Thread jlaskey
Revision: 123566 Author: jlaskey Date: 2007-02-07 17:49:59 -0800 (Wed, 07 Feb 2007) Log Message: --- Use getDeclaration to simplify code. Modified Paths: -- apple-local/branches/llvm/gcc/llvm-debug.cpp Modified: apple-local/branches/llvm/gcc/llvm-debug.cpp =

Re: [llvm-commits] CVS: llvm/tools/lto/lto.cpp

2007-02-07 Thread Bill Wendling
Done. Thanks for catching that. :-) -bw On 2/7/07, Devang Patel <[EMAIL PROTECTED]> wrote: > > > On Feb 7, 2007, at 5:41 PM, Bill Wendling wrote: > > >CodeGenPasses->add(new > TargetData(*Target->getTargetData())); > > - > Target->addPassesToEmitFile(*CodeGenPasses, Out, > TargetMachine::Asse

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

2007-02-07 Thread Bill Wendling
Changes in directory llvm/tools/lto: lto.cpp updated: 1.35 -> 1.36 --- Log message: Avoid assert() in lto. Let linker handle all failures. Use LTO_WRITE_FAILURE instead of LTO_UNKNOWN. --- Diffs of the changes: (+4 -9) lto.cpp | 13 - 1 files changed, 4 insertions(+), 9 delet

Re: [llvm-commits] CVS: llvm/tools/lto/lto.cpp

2007-02-07 Thread Devang Patel
On Feb 7, 2007, at 5:41 PM, Bill Wendling wrote: CodeGenPasses->add(new TargetData(*Target->getTargetData())); - Target->addPassesToEmitFile(*CodeGenPasses, Out, TargetMachine::AssemblyFile, - true); + + MachineCodeEmitter *MCE = 0; + + switch (Target->addP

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

2007-02-07 Thread Bill Wendling
Changes in directory llvm/tools/llc: llc.cpp updated: 1.143 -> 1.144 --- Log message: The new version of how to add passes to emit files. We explicitly call a function to add the file writers between calls to add the passes. --- Diffs of the changes: (+25 -1) llc.cpp | 26 +++

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

2007-02-07 Thread Bill Wendling
Changes in directory llvm/tools/lto: lto.cpp updated: 1.34 -> 1.35 --- Log message: The new version of how to add passes to emit files. We explicitly call a function to add the file writers between calls to add the passes. --- Diffs of the changes: (+26 -2) lto.cpp | 28 +

[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC.h PPCMachOWriterInfo.cpp PPCTargetMachine.cpp PPCTargetMachine.h

2007-02-07 Thread Bill Wendling
Changes in directory llvm/lib/Target/PowerPC: PPC.h updated: 1.37 -> 1.38 PPCMachOWriterInfo.cpp updated: 1.2 -> 1.3 PPCTargetMachine.cpp updated: 1.115 -> 1.116 PPCTargetMachine.h updated: 1.28 -> 1.29 --- Log message: Moved the MachOWriter and ELFWriter out of the Target/* files. Placed the d

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

2007-02-07 Thread Bill Wendling
Changes in directory llvm/lib/Target/X86: X86.h updated: 1.49 -> 1.50 X86TargetMachine.cpp updated: 1.140 -> 1.141 X86TargetMachine.h updated: 1.44 -> 1.45 --- Log message: Moved the MachOWriter and ELFWriter out of the Target/* files. Placed the definition of it into the CodeGen library. This

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

2007-02-07 Thread Bill Wendling
Changes in directory llvm/lib/Target/Alpha: AlphaTargetMachine.cpp updated: 1.35 -> 1.36 AlphaTargetMachine.h updated: 1.18 -> 1.19 --- Log message: Added new method to add a "simple" code emitter. That is, to only add the code emitter and not set variables. --- Diffs of the changes: (+7 -0)

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

2007-02-07 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen: LLVMTargetMachine.cpp updated: 1.7 -> 1.8 --- Log message: Split the addPassesToEmitFile method up into two. This is so that we can do some common stuff, then on our own add an object file writer (by calling a concrete function), and then do some finishing

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

2007-02-07 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen: ELFWriter.cpp updated: 1.36 -> 1.37 MachOWriter.cpp updated: 1.23 -> 1.24 --- Log message: Add function to create a file writer. --- Diffs of the changes: (+28 -3) ELFWriter.cpp | 16 +++- MachOWriter.cpp | 15 +-- 2 file

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

2007-02-07 Thread Bill Wendling
Changes in directory llvm/include/llvm/Target: TargetMachine.h updated: 1.75 -> 1.76 --- Log message: Added new method to finish up the addition of passes to emit files. This allows us to split that method into two so that we can optionally call a concrete function to add a writer. Removed mori

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

2007-02-07 Thread LLVM
Changes in directory llvm/lib/Target/X86: X86ELFWriter.cpp (r1.7) removed --- Log message: Dead files. Functionality has been taken over by the Add*Writer functions. --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing li

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

2007-02-07 Thread LLVM
Changes in directory llvm/lib/Target/PowerPC: PPCMachOWriter.cpp (r1.16) removed --- Log message: Dead files. Functionality has been taken over by the Add*Writer functions. --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mai

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

2007-02-07 Thread Bill Wendling
Changes in directory llvm/include/llvm/CodeGen: FileWriters.h added (r1.1) --- Log message: Declarations for functions that create different file writers. --- Diffs of the changes: (+32 -0) FileWriters.h | 32 1 files changed, 32 insertions(+) Index: ll

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

2007-02-07 Thread Bill Wendling
Changes in directory llvm/lib/CodeGen: ELFWriter.h added (r1.1) MachOWriter.h added (r1.1) --- Log message: Moved from include/llvm/CodeGen to lib/CodeGen. --- Diffs of the changes: (+850 -0) ELFWriter.h | 226 + MachOWriter.h | 624 +

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

2007-02-07 Thread LLVM
Changes in directory llvm/include/llvm/CodeGen: ELFWriter.h (r1.15) removed MachOWriter.h (r1.19) removed --- Log message: Moved from include/llvm/CodeGen to lib/CodeGen. --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits maili

[llvm-commits] [PATCH] Fix llvm-gcc bootstrap failure on mac os x 10.4

2007-02-07 Thread Devang Patel
At the moment, llvm-gcc enables DWARF by default on darwin. But you'll don't have required tools. This patch enables DWARF only if they are available. Applied. I also regenerated gcc/config.in and gcc/configure. - Devang Index: configure.ac ==

[llvm-commits] [PATCH] Read llvm bytecodes from PCH file

2007-02-07 Thread Devang Patel
This patch enables reading llvm bytecodes from PCH file. Applied. - Devang > > Index: llvm.h > === > --- llvm.h (revision 123555) > +++ llvm.h (working copy) > @@ -83,6 +83,9 @@ void print_llvm(FILE *file, void *LLVM); > /*

[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp Interpreter.h

2007-02-07 Thread Reid Spencer
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Execution.cpp updated: 1.167 -> 1.168 Interpreter.h updated: 1.82 -> 1.83 --- Log message: For PR1188: http://llvm.org/PR1188 : Compute BitMask correctly. Patch by Leo ([EMAIL PROTECTED]). --- Diffs of the changes: (+2 -2) Executi

[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeParser.y

2007-02-07 Thread Reid Spencer
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.58 -> 1.59 --- Log message: For PR1187: http://llvm.org/PR1187 : When a naming conflict arises, allow internal linkage functions to be renamed without warning or error. --- Diffs of the changes: (+29 -5) UpgradeParser

[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeLexer.l

2007-02-07 Thread Reid Spencer
Changes in directory llvm/tools/llvm-upgrade: UpgradeLexer.l updated: 1.18 -> 1.19 --- Log message: For PR1187: http://llvm.org/PR1187 : Allow @ before identifer names. Recognize the i1, i8, i16, i32, i64 keywords as type names corresponding to bool, ubyte, ushort, uint, and ulong respectively.

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Reader: ReaderWrappers.cpp updated: 1.66 -> 1.67 --- Log message: move archive-specific stuff out of bcreader into archive library. --- Diffs of the changes: (+0 -67) ReaderWrappers.cpp | 67 - 1 f

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bytecode: Reader.h updated: 1.29 -> 1.30 --- Log message: move archive-specific stuff out of bcreader into archive library. --- Diffs of the changes: (+0 -30) Reader.h | 30 -- 1 files changed, 30 deletions(-) Index: ll

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Archive: Archive.cpp updated: 1.16 -> 1.17 ArchiveInternals.h updated: 1.5 -> 1.6 --- Log message: move archive-specific stuff out of bcreader into archive library. --- Diffs of the changes: (+80 -3) Archive.cpp| 70 +

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/llvmc: CompilerDriver.cpp updated: 1.43 -> 1.44 --- Log message: move an llvmc-specific function out of the bcreader into llvmc. --- Diffs of the changes: (+17 -0) CompilerDriver.cpp | 17 + 1 files changed, 17 insertions(+) Index: llvm/t

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bytecode: Reader.h updated: 1.28 -> 1.29 --- Log message: move an llvmc-specific function out of the bcreader into llvmc. --- Diffs of the changes: (+0 -12) Reader.h | 12 1 files changed, 12 deletions(-) Index: llvm/include/llvm/Byte

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Reader: ReaderWrappers.cpp updated: 1.65 -> 1.66 --- Log message: move an llvmc-specific function out of the bcreader into llvmc. --- Diffs of the changes: (+0 -16) ReaderWrappers.cpp | 16 1 files changed, 16 deletions(-) Index:

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Reader: Analyzer.cpp updated: 1.34 -> 1.35 Reader.h updated: 1.47 -> 1.48 ReaderWrappers.cpp updated: 1.64 -> 1.65 --- Log message: move AnalyzeBytecodeFile out of ReaderWrappers.cpp into Analyzer.cpp. Now lli doesn't link in Analyzer.cpp. --- Diffs of

[llvm-commits] CVS: llvm/test/Assembler/2007-02-07-SizedIntTypes.ll

2007-02-07 Thread Reid Spencer
Changes in directory llvm/test/Assembler: 2007-02-07-SizedIntTypes.ll added (r1.1) --- Log message: For PR1187: http://llvm.org/PR1187 : Add a test to ensure that i1, i8, i16, i32 and i64 are recognized by the lexer and vars using them will be renamed appropriately. --- Diffs of the changes:

[llvm-commits] CVS: llvm/test/Assembler/2007-02-07-RenameInternals.ll

2007-02-07 Thread Reid Spencer
Changes in directory llvm/test/Assembler: 2007-02-07-RenameInternals.ll added (r1.1) --- Log message: For PR1187: http://llvm.org/PR1187 : Add a test case to test rename of internal linkage functions with the same name, without an error or warning. --- Diffs of the changes: (+11 -0) 2007-0

Re: [llvm-commits] llvm-gcc4: nested function support (w/o trampolines)

2007-02-07 Thread Chris Lattner
On Feb 5, 2007, at 1:17 PM, Duncan Sands wrote: > This patch adds support for nested subroutines, but not for > trampolines (used for taking pointers to nested subroutines; > implementing support for trampolines is more tricky since it > needs help from the code generators). There are no changes

[llvm-commits] [123562] Initial support for nested functions ( but not non-local gotos or trampolines).

2007-02-07 Thread clattner
Revision: 123562 Author: clattner Date: 2007-02-07 15:28:05 -0800 (Wed, 07 Feb 2007) Log Message: --- Initial support for nested functions (but not non-local gotos or trampolines). Patch by Duncan Sands! This implements llvm/test/CFrontend/2007-02-05-nested.c Modified Paths: --

[llvm-commits] CVS: llvm/test/CFrontend/2007-02-05-nested.c

2007-02-07 Thread Chris Lattner
Changes in directory llvm/test/CFrontend: 2007-02-05-nested.c added (r1.1) --- Log message: new testcase for nested functions --- Diffs of the changes: (+54 -0) 2007-02-05-nested.c | 54 1 files changed, 54 insertions(+) Index: llvm/

[llvm-commits] [123561] shift-related cleanups, patch by Reid!

2007-02-07 Thread clattner
Revision: 123561 Author: clattner Date: 2007-02-07 15:12:06 -0800 (Wed, 07 Feb 2007) Log Message: --- shift-related cleanups, patch by Reid! Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp ==

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

2007-02-07 Thread Andrew Lenharth
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.536 -> 1.536.2.1 --- Log message: Fix miscompile of linux kernel (llvm 1.9) --- Diffs of the changes: (+3 -3) InstructionCombining.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/2007-02-07-PointerCast.ll

2007-02-07 Thread Andrew Lenharth
Changes in directory llvm/test/Transforms/InstCombine: 2007-02-07-PointerCast.ll added (r1.1) --- Log message: This really only affects pointers in high memory, and only llvm 1.9, but make a regression for it anyway --- Diffs of the changes: (+28 -0) 2007-02-07-PointerCast.ll | 28 ++

[llvm-commits] [123559] Don't create useless bitcast instructions.

2007-02-07 Thread clattner
Revision: 123559 Author: clattner Date: 2007-02-07 13:53:56 -0800 (Wed, 07 Feb 2007) Log Message: --- Don't create useless bitcast instructions. Patch by Reid Spencer! Modified Paths: -- apple-local/branches/llvm/gcc/llvm-convert.cpp Modified: apple-local/branches/

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

2007-02-07 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.65 -> 1.66 --- Log message: isLowRegister() expects input is a physical register. --- Diffs of the changes: (+2 -2) ARMRegisterInfo.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Ta

[llvm-commits] CVS: llvm/tools/bugpoint/BugDriver.cpp

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/bugpoint: BugDriver.cpp updated: 1.49 -> 1.50 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read B

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/llvm-extract: llvm-extract.cpp updated: 1.36 -> 1.37 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be r

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Archive: Archive.cpp updated: 1.15 -> 1.16 ArchiveReader.cpp updated: 1.48 -> 1.49 ArchiveWriter.cpp updated: 1.33 -> 1.34 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getByte

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/llvm-nm: llvm-nm.cpp updated: 1.30 -> 1.31 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDe

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.234 -> 1.235 Reader.h updated: 1.46 -> 1.47 ReaderWrappers.cpp updated: 1.63 -> 1.64 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModu

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/llvm-bcanalyzer: llvm-bcanalyzer.cpp updated: 1.9 -> 1.10 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/llvm-prof: llvm-prof.cpp updated: 1.29 -> 1.30 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/llvm-dis: llvm-dis.cpp updated: 1.55 -> 1.56 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BC

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/llc: llc.cpp updated: 1.142 -> 1.143 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecompre

[llvm-commits] CVS: llvm/include/llvm/Bytecode/Analyzer.h Archive.h Reader.h

2007-02-07 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bytecode: Analyzer.h updated: 1.14 -> 1.15 Archive.h updated: 1.19 -> 1.20 Reader.h updated: 1.27 -> 1.28 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvide

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/lli: lli.cpp updated: 1.66 -> 1.67 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecompress

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/opt: opt.cpp updated: 1.130 -> 1.131 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecompre

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/llvm2cpp: llvm2cpp.cpp updated: 1.6 -> 1.7 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDe

[llvm-commits] CVS: llvm/lib/Linker/Linker.cpp

2007-02-07 Thread Chris Lattner
Changes in directory llvm/lib/Linker: Linker.cpp updated: 1.13 -> 1.14 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecomp

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/llvmc: CompilerDriver.cpp updated: 1.42 -> 1.43 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/tools/llvm-link: llvm-link.cpp updated: 1.62 -> 1.63 --- Log message: push bytecode decompressor out through APIs. Now the bytecode reader api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read

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

2007-02-07 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.64 -> 1.65 --- Log message: Rename. --- Diffs of the changes: (+7 -6) ARMRegisterInfo.cpp | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) Index: llvm/lib/Target/ARM/ARMRegisterInfo.cpp diff -u

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

2007-02-07 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.63 -> 1.64 --- Log message: If sp offset will be materialized in a register. Clear the offset field of str / ldr. --- Diffs of the changes: (+10 -8) ARMRegisterInfo.cpp | 18 ++ 1 files changed, 10 i

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

2007-02-07 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMISelDAGToDAG.cpp updated: 1.106 -> 1.107 ARMRegisterInfo.cpp updated: 1.62 -> 1.63 --- Log message: Get rid of references to iostream. --- Diffs of the changes: (+2 -4) ARMISelDAGToDAG.cpp |1 - ARMRegisterInfo.cpp |5 ++--- 2 files chang

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

2007-02-07 Thread Jim Laskey
Changes in directory llvm/lib/VMCore: Function.cpp updated: 1.111 -> 1.112 --- Log message: Automatically generating intrinsic declarations from Dan Gohman. Modified to construct FunctionType in separate function, and, have getDeclaration return a Function instead of a Constant. --- Diffs of

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

2007-02-07 Thread Jim Laskey
Changes in directory llvm/utils/TableGen: IntrinsicEmitter.cpp updated: 1.24 -> 1.25 IntrinsicEmitter.h updated: 1.9 -> 1.10 --- Log message: Automatically generating intrinsic declarations from Dan Gohman. Modified to construct FunctionType in separate function, and, have getDeclaration retur

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

2007-02-07 Thread Jim Laskey
Changes in directory llvm/include/llvm: Intrinsics.h updated: 1.40 -> 1.41 Intrinsics.td updated: 1.43 -> 1.44 --- Log message: Automatically generating intrinsic declarations from Dan Gohman. Modified to construct FunctionType in separate function, and, have getDeclaration return a Function i

[llvm-commits] TargetData patch

2007-02-07 Thread Scott Michel
Incorporated suggestions from Chris. Rebsubmitted patch. -- Scott Michel [EMAIL PROTECTED] High Performance Hardware Section Manager 310/336-5034 Computer Systems Research Department The Aerospace Corporation Index: include/llvm/Target/TargetData.h

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Reader: Reader.cpp updated: 1.233 -> 1.234 Reader.h updated: 1.45 -> 1.46 ReaderWrappers.cpp updated: 1.62 -> 1.63 --- Log message: Move compressor out of the core Reader.cpp file. --- Diffs of the changes: (+14 -6) Reader.cpp |6 +++--- R

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

2007-02-07 Thread Devang Patel
Changes in directory llvm/lib/VMCore: PassManager.cpp updated: 1.134 -> 1.135 --- Log message: Do not drop transferred last uses on the floor. Use handleLastUserOverflow(). --- Diffs of the changes: (+3 -0) PassManager.cpp |3 +++ 1 files changed, 3 insertions(+) Index: llvm/lib/VMCo

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

2007-02-07 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: DeadArgumentElimination.cpp updated: 1.37 -> 1.38 --- Log message: Fix Transforms/DeadArgElim/2007-02-07-FuncRename.ll, fallout from PR411: http://llvm.org/PR411 . This happened because deadargelim now causes VMCore to auto-rename every function t

[llvm-commits] CVS: llvm/test/Transforms/DeadArgElim/2007-02-07-FuncRename.ll

2007-02-07 Thread Chris Lattner
Changes in directory llvm/test/Transforms/DeadArgElim: 2007-02-07-FuncRename.ll added (r1.1) --- Log message: Testcase for a bug responsible for GCC bootstrap failure, fallout from PR411: http://llvm.org/PR411 . --- Diffs of the changes: (+11 -0) 2007-02-07-FuncRename.ll | 11 ++

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

2007-02-07 Thread Reid Spencer
Changes in directory llvm: Makefile.rules updated: 1.423 -> 1.424 --- Log message: Make the cleaning of BUILT_SOURCES be a "clean-all" target item, not a "clean" target item. This gets around having the built sources disappear when only one build mode wants to be cleaned. With the "clean-all"

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

2007-02-07 Thread Lauro Ramos Venancio
Changes in directory llvm/include/llvm/ADT: APInt.h updated: 1.3 -> 1.4 --- Log message: Fix build error. include/llvm/ADT/APInt.h:326: error: ‘assert’ was not declared in this scope --- Diffs of the changes: (+1 -0) APInt.h |1 + 1 files changed, 1 insertion(+) Index: llvm/inclu

[llvm-commits] CVS: llvm/test/CodeGen/ARM/dyn-stackalloc.ll

2007-02-07 Thread Evan Cheng
Changes in directory llvm/test/CodeGen/ARM: dyn-stackalloc.ll updated: 1.1 -> 1.2 --- Log message: New test case. --- Diffs of the changes: (+36 -6) dyn-stackalloc.ll | 42 -- 1 files changed, 36 insertions(+), 6 deletions(-) Index: llvm/test/Code

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

2007-02-07 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: README-Thumb.txt updated: 1.7 -> 1.8 --- Log message: New entry. --- Diffs of the changes: (+9 -0) README-Thumb.txt |9 + 1 files changed, 9 insertions(+) Index: llvm/lib/Target/ARM/README-Thumb.txt diff -u llvm/lib/Target/ARM/README-T

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

2007-02-07 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMMachineFunctionInfo.h updated: 1.5 -> 1.6 ARMRegisterInfo.cpp updated: 1.61 -> 1.62 --- Log message: In thumb mode, R3 is reserved, but it can be live in to the function. If that is the case, whenever we use it as a scratch register, save it to R12 f

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

2007-02-07 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: README-Thumb.txt updated: 1.6 -> 1.7 --- Log message: Update --- Diffs of the changes: (+4 -0) README-Thumb.txt |4 1 files changed, 4 insertions(+) Index: llvm/lib/Target/ARM/README-Thumb.txt diff -u llvm/lib/Target/ARM/README-Thumb.txt:

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

2007-02-07 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.60 -> 1.61 --- Log message: - If fp (r7) is used to reference stack objects, use [r, r] address mode. - If there is a dynamic alloca, in the epilogue, restore the value of sp using r7 - offset. - Other bug fixes. --- D