[llvm-commits] CVS: llvm/docs/LangRef.html
Changes in directory llvm/docs: LangRef.html updated: 1.150 -> 1.151 --- Log message: Change token to match asmprinter output --- Diffs of the changes: (+4 -4) LangRef.html |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.150 llvm/docs/LangRef.html:1.151 --- llvm/docs/LangRef.html:1.150Fri Apr 21 16:37:40 2006 +++ llvm/docs/LangRef.html Sun May 14 13:23:06 2006 @@ -1371,7 +1371,7 @@= invoke [cconv] % ( ) -to label except label +to label unwind label Overview: @@ -1432,9 +1432,9 @@ Example: %retval = invoke int %Test(int 15) to label %Continue - except label %TestCleanup ; {int}:retval set + unwind label %TestCleanup ; {int}:retval set %retval = invoke coldcc int %Test(int 15) to label %Continue - except label %TestCleanup ; {int}:retval set + unwind label %TestCleanup ; {int}:retval set @@ -3817,7 +3817,7 @@ mailto:[EMAIL PROTECTED]">Chris Lattner http://llvm.org";>The LLVM Compiler Infrastructure - Last modified: $Date: 2006/04/21 21:37:40 $ + Last modified: $Date: 2006/05/14 18:23:06 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Changes in directory llvm/lib/Transforms/Utils: SimplifyCFG.cpp updated: 1.95 -> 1.96 --- Log message: remove dead variables --- Diffs of the changes: (+0 -2) SimplifyCFG.cpp |2 -- 1 files changed, 2 deletions(-) Index: llvm/lib/Transforms/Utils/SimplifyCFG.cpp diff -u llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.95 llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.96 --- llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.95 Fri Feb 17 18:33:17 2006 +++ llvm/lib/Transforms/Utils/SimplifyCFG.cpp Sun May 14 13:33:57 2006 @@ -901,8 +901,6 @@ /// across this block. static bool BlockIsSimpleEnoughToThreadThrough(BasicBlock *BB) { BranchInst *BI = cast(BB->getTerminator()); - Value *Cond = BI->getCondition(); - unsigned Size = 0; // If this basic block contains anything other than a PHI (which controls the ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Transforms/LevelRaise.cpp
Changes in directory llvm/lib/Transforms: LevelRaise.cpp updated: 1.109 -> 1.110 --- Log message: remove dead variables --- Diffs of the changes: (+0 -1) LevelRaise.cpp |1 - 1 files changed, 1 deletion(-) Index: llvm/lib/Transforms/LevelRaise.cpp diff -u llvm/lib/Transforms/LevelRaise.cpp:1.109 llvm/lib/Transforms/LevelRaise.cpp:1.110 --- llvm/lib/Transforms/LevelRaise.cpp:1.109Sun Jan 22 17:32:06 2006 +++ llvm/lib/Transforms/LevelRaise.cpp Sun May 14 13:33:57 2006 @@ -103,7 +103,6 @@ if (CastInst *CI = dyn_cast(I)) { Value *Src= CI->getOperand(0); -Instruction *SrcI = dyn_cast(Src); // Nonnull if instr source const Type *DestTy = CI->getType(); // Peephole optimize the following instruction: ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/VMCore/Instructions.cpp Verifier.cpp
Changes in directory llvm/lib/VMCore: Instructions.cpp updated: 1.37 -> 1.38 Verifier.cpp updated: 1.154 -> 1.155 --- Log message: remove dead var --- Diffs of the changes: (+1 -2) Instructions.cpp |2 +- Verifier.cpp |1 - 2 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/lib/VMCore/Instructions.cpp diff -u llvm/lib/VMCore/Instructions.cpp:1.37 llvm/lib/VMCore/Instructions.cpp:1.38 --- llvm/lib/VMCore/Instructions.cpp:1.37 Tue May 9 23:32:43 2006 +++ llvm/lib/VMCore/Instructions.cppSun May 14 13:34:36 2006 @@ -667,7 +667,7 @@ // message on bad indexes for a gep instruction. // static inline const Type *checkType(const Type *Ty) { - assert(Ty && "Invalid indices for type!"); + assert(Ty && "Invalid GetElementPtrInst indices for type!"); return Ty; } Index: llvm/lib/VMCore/Verifier.cpp diff -u llvm/lib/VMCore/Verifier.cpp:1.154 llvm/lib/VMCore/Verifier.cpp:1.155 --- llvm/lib/VMCore/Verifier.cpp:1.154 Fri Apr 7 23:07:52 2006 +++ llvm/lib/VMCore/Verifier.cppSun May 14 13:34:36 2006 @@ -693,7 +693,6 @@ /// void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) { Function *IF = CI.getCalledFunction(); - const FunctionType *FTy = IF->getFunctionType(); Assert1(IF->isExternal(), "Intrinsic functions should never be defined!", IF); #define GET_INTRINSIC_VERIFIER ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-ld/llvm-ld.cpp
Changes in directory llvm/tools/llvm-ld: llvm-ld.cpp updated: 1.30 -> 1.31 --- Log message: Delete memory allocated by CopyEnv --- Diffs of the changes: (+3 -1) llvm-ld.cpp |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/tools/llvm-ld/llvm-ld.cpp diff -u llvm/tools/llvm-ld/llvm-ld.cpp:1.30 llvm/tools/llvm-ld/llvm-ld.cpp:1.31 --- llvm/tools/llvm-ld/llvm-ld.cpp:1.30 Mon Mar 6 00:38:19 2006 +++ llvm/tools/llvm-ld/llvm-ld.cpp Sun May 14 13:38:13 2006 @@ -312,7 +312,9 @@ args.push_back(0); // Run the compiler to assembly and link together the program. - return sys::Program::ExecuteAndWait(gcc, &args[0], (const char**)clean_env); + int R = sys::Program::ExecuteAndWait(gcc, &args[0], (const char**)clean_env); + delete [] clean_env; + return R; } /// EmitShellScript - Output the wrapper file that invokes the JIT on the LLVM ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Changes in directory llvm/lib/Transforms/Utils: SimplifyCFG.cpp updated: 1.96 -> 1.97 --- Log message: remove some dead code identified by coverity --- Diffs of the changes: (+1 -1) SimplifyCFG.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Utils/SimplifyCFG.cpp diff -u llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.96 llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.97 --- llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.96 Sun May 14 13:33:57 2006 +++ llvm/lib/Transforms/Utils/SimplifyCFG.cpp Sun May 14 13:45:44 2006 @@ -118,7 +118,7 @@ // If the PHI nodes in BB are only used by instructions in Succ, we are ok if // BB and Succ have no common predecessors. - for (BasicBlock::iterator I = BB->begin(); isa(I) && IsSafe; ++I) { + for (BasicBlock::iterator I = BB->begin(); isa(I); ++I) { PHINode *PN = cast(I); for (Value::use_iterator UI = PN->use_begin(), E = PN->use_end(); UI != E; ++UI) ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.197 -> 1.198 --- Log message: inverted logic, caught by coverity --- Diffs of the changes: (+1 -1) AsmWriter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/AsmWriter.cpp diff -u llvm/lib/VMCore/AsmWriter.cpp:1.197 llvm/lib/VMCore/AsmWriter.cpp:1.198 --- llvm/lib/VMCore/AsmWriter.cpp:1.197 Fri Apr 7 20:18:18 2006 +++ llvm/lib/VMCore/AsmWriter.cpp Sun May 14 13:46:52 2006 @@ -582,7 +582,7 @@ Slot = Machine->getSlot(V); } else { Machine = createSlotMachine(V); -if (Machine == 0) +if (Machine) Slot = Machine->getSlot(V); else Slot = -1; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/System/Unix/Process.inc
Changes in directory llvm/lib/System/Unix: Process.inc updated: 1.15 -> 1.16 --- Log message: This function is not documented as throwing an exception and callers don't handle it. Just silently fail. --- Diffs of the changes: (+1 -3) Process.inc |4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) Index: llvm/lib/System/Unix/Process.inc diff -u llvm/lib/System/Unix/Process.inc:1.15 llvm/lib/System/Unix/Process.inc:1.16 --- llvm/lib/System/Unix/Process.inc:1.15 Fri May 12 13:20:39 2006 +++ llvm/lib/System/Unix/Process.incSun May 14 13:53:09 2006 @@ -132,9 +132,7 @@ #if HAVE_SETRLIMIT struct rlimit rlim; rlim.rlim_cur = rlim.rlim_max = 0; - int res = setrlimit(RLIMIT_CORE, &rlim); - if (res != 0) -ThrowErrno("Can't prevent core file generation"); + setrlimit(RLIMIT_CORE, &rlim); #endif } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.13 -> 1.14 --- Log message: Bug noticed, by inspection. Filename can be null. --- Diffs of the changes: (+2 -1) DynamicLibrary.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/System/DynamicLibrary.cpp diff -u llvm/lib/System/DynamicLibrary.cpp:1.13 llvm/lib/System/DynamicLibrary.cpp:1.14 --- llvm/lib/System/DynamicLibrary.cpp:1.13 Fri May 12 13:13:11 2006 +++ llvm/lib/System/DynamicLibrary.cpp Sun May 14 14:00:53 2006 @@ -107,7 +107,8 @@ a_handle = lt_dlopenext(filename); if (a_handle == 0) -throw std::string("Can't open :") + filename + ": " + lt_dlerror(); +throw std::string("Can't open :") + + (filename ? filename : "") + ": " + lt_dlerror(); lt_dlmakeresident(a_handle); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.82 -> 1.83 --- Log message: LoadLibraryPermanently can theoretically throw an exception. Do not propagate it out of 'ExecutionEngine::create'. This fixes a problem reported by coverity. --- Diffs of the changes: (+4 -1) ExecutionEngine.cpp |5 - 1 files changed, 4 insertions(+), 1 deletion(-) Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp diff -u llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.82 llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.83 --- llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.82 Mon May 8 17:00:52 2006 +++ llvm/lib/ExecutionEngine/ExecutionEngine.cppSun May 14 14:01:55 2006 @@ -247,7 +247,10 @@ if (EE) { // Make sure we can resolve symbols in the program as well. The zero arg // to the function tells DynamicLibrary to load the program, not a library. -sys::DynamicLibrary::LoadLibraryPermanently(0); +try { + sys::DynamicLibrary::LoadLibraryPermanently(0); +} catch (...) { +} } return EE; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/Support/Compressor.h
Changes in directory llvm/include/llvm/Support: Compressor.h updated: 1.6 -> 1.7 --- Log message: Improve documentation on throwing, it is not complete still though. :( --- Diffs of the changes: (+3 -0) Compressor.h |3 +++ 1 files changed, 3 insertions(+) Index: llvm/include/llvm/Support/Compressor.h diff -u llvm/include/llvm/Support/Compressor.h:1.6 llvm/include/llvm/Support/Compressor.h:1.7 --- llvm/include/llvm/Support/Compressor.h:1.6 Thu Apr 21 15:44:59 2005 +++ llvm/include/llvm/Support/Compressor.h Sun May 14 14:07:07 2006 @@ -57,6 +57,7 @@ /// writing when this method is called. The stream will not be closed by /// this method. The \p hint argument indicates which type of /// compression the caller would *prefer*. + /// @throws std::string explaining error if a compression error occurs /// @returns The amount of data written to \p out. /// @brief Compress memory to a file. static size_t compressToStream( @@ -68,6 +69,7 @@ /// This method decompresses a block of memory pointed to by \p in with /// size \p size to a new block of memory, \p out, \p that was allocated /// by malloc. It is the caller's responsibility to free \p out. + /// @throws std::string explaining error if a decompression error occurs /// @returns The size of the output buffer \p out. /// @brief Decompress memory to a new memory buffer. static size_t decompressToNewBuffer( @@ -80,6 +82,7 @@ /// size \p size to a stream. The stream \p out must be open and ready for /// writing when this method is called. The stream will not be closed by /// this method. + /// @throws std::string explaining error if a decompression error occurs /// @returns The amount of data written to \p out. /// @brief Decompress memory to a stream. static size_t decompressToStream( ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/examples/ModuleMaker/ModuleMaker.cpp
Changes in directory llvm/examples/ModuleMaker: ModuleMaker.cpp updated: 1.6 -> 1.7 --- Log message: Catch a potentially thrown exception. --- Diffs of the changes: (+6 -1) ModuleMaker.cpp |7 ++- 1 files changed, 6 insertions(+), 1 deletion(-) Index: llvm/examples/ModuleMaker/ModuleMaker.cpp diff -u llvm/examples/ModuleMaker/ModuleMaker.cpp:1.6 llvm/examples/ModuleMaker/ModuleMaker.cpp:1.7 --- llvm/examples/ModuleMaker/ModuleMaker.cpp:1.6 Wed Apr 20 11:42:35 2005 +++ llvm/examples/ModuleMaker/ModuleMaker.cpp Sun May 14 14:08:39 2006 @@ -54,7 +54,12 @@ BB->getInstList().push_back(new ReturnInst(Add)); // Output the bytecode file to stdout - WriteBytecodeToFile(M, std::cout); + try { +WriteBytecodeToFile(M, std::cout); + } catch (const std::string &Error) { +std::cerr << "Error writing file: " << Error << "\n"; +return 1; + } // Delete the module and all of its contents. delete M; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/Bytecode/Writer.h
Changes in directory llvm/include/llvm/Bytecode: Writer.h updated: 1.9 -> 1.10 --- Log message: improve comment. --- Diffs of the changes: (+4 -0) Writer.h |4 1 files changed, 4 insertions(+) Index: llvm/include/llvm/Bytecode/Writer.h diff -u llvm/include/llvm/Bytecode/Writer.h:1.9 llvm/include/llvm/Bytecode/Writer.h:1.10 --- llvm/include/llvm/Bytecode/Writer.h:1.9 Thu Apr 21 15:34:13 2005 +++ llvm/include/llvm/Bytecode/Writer.h Sun May 14 14:10:22 2006 @@ -28,6 +28,10 @@ namespace llvm { class Module; + /// WriteBytecodeToFile - Write the specified module to the specified output + /// stream. If compress is set to true, try to use compression when writing + /// out the file. This throws an std::string if there is an error writing + /// the file. void WriteBytecodeToFile(const Module *M, std::ostream &Out, bool compress = true); } // End llvm namespace ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/bugpoint/OptimizerDriver.cpp
Changes in directory llvm/tools/bugpoint: OptimizerDriver.cpp updated: 1.37 -> 1.38 --- Log message: Fix a bug found by inspection. --- Diffs of the changes: (+5 -1) OptimizerDriver.cpp |6 +- 1 files changed, 5 insertions(+), 1 deletion(-) Index: llvm/tools/bugpoint/OptimizerDriver.cpp diff -u llvm/tools/bugpoint/OptimizerDriver.cpp:1.37 llvm/tools/bugpoint/OptimizerDriver.cpp:1.38 --- llvm/tools/bugpoint/OptimizerDriver.cpp:1.37Thu Jan 26 12:37:21 2006 +++ llvm/tools/bugpoint/OptimizerDriver.cpp Sun May 14 14:11:40 2006 @@ -52,7 +52,11 @@ std::ios::binary; std::ofstream Out(Filename.c_str(), io_mode); if (!Out.good()) return true; - WriteBytecodeToFile(M ? M : Program, Out, /*compression=*/true); + try { +WriteBytecodeToFile(M ? M : Program, Out, /*compression=*/true); + } catch (...) { +return true; + } return false; } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/bugpoint/BugDriver.cpp
Changes in directory llvm/tools/bugpoint: BugDriver.cpp updated: 1.43 -> 1.44 --- Log message: print a nice error if bugpoint gets an error reading inputs. Bug identified by coverity. --- Diffs of the changes: (+21 -16) BugDriver.cpp | 37 + 1 files changed, 21 insertions(+), 16 deletions(-) Index: llvm/tools/bugpoint/BugDriver.cpp diff -u llvm/tools/bugpoint/BugDriver.cpp:1.43 llvm/tools/bugpoint/BugDriver.cpp:1.44 --- llvm/tools/bugpoint/BugDriver.cpp:1.43 Thu Dec 22 14:02:55 2005 +++ llvm/tools/bugpoint/BugDriver.cpp Sun May 14 14:15:56 2006 @@ -94,24 +94,29 @@ assert(Program == 0 && "Cannot call addSources multiple times!"); assert(!Filenames.empty() && "Must specify at least on input filename!"); - // Load the first input file... - Program = ParseInputFile(Filenames[0]); - if (Program == 0) return true; - if (!run_as_child) -std::cout << "Read input file : '" << Filenames[0] << "'\n"; - - for (unsigned i = 1, e = Filenames.size(); i != e; ++i) { -std::auto_ptr M(ParseInputFile(Filenames[i])); -if (M.get() == 0) return true; - + try { +// Load the first input file. +Program = ParseInputFile(Filenames[0]); +if (Program == 0) return true; if (!run_as_child) - std::cout << "Linking in input file: '" << Filenames[i] << "'\n"; -std::string ErrorMessage; -if (Linker::LinkModules(Program, M.get(), &ErrorMessage)) { - std::cerr << ToolName << ": error linking in '" << Filenames[i] << "': " -<< ErrorMessage << '\n'; - return true; + std::cout << "Read input file : '" << Filenames[0] << "'\n"; + +for (unsigned i = 1, e = Filenames.size(); i != e; ++i) { + std::auto_ptr M(ParseInputFile(Filenames[i])); + if (M.get() == 0) return true; + + if (!run_as_child) +std::cout << "Linking in input file: '" << Filenames[i] << "'\n"; + std::string ErrorMessage; + if (Linker::LinkModules(Program, M.get(), &ErrorMessage)) { +std::cerr << ToolName << ": error linking in '" << Filenames[i] << "': " + << ErrorMessage << '\n'; +return true; + } } + } catch (const std::string &Error) { +std::cerr << ToolName << ": error reading input '" << Error << "'\n"; +return true; } if (!run_as_child) ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/gccld/GenerateCode.cpp
Changes in directory llvm/tools/gccld: GenerateCode.cpp updated: 1.56 -> 1.57 --- Log message: Free memory allocated by copy_env. --- Diffs of the changes: (+3 -1) GenerateCode.cpp |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/tools/gccld/GenerateCode.cpp diff -u llvm/tools/gccld/GenerateCode.cpp:1.56 llvm/tools/gccld/GenerateCode.cpp:1.57 --- llvm/tools/gccld/GenerateCode.cpp:1.56 Wed Dec 21 19:50:56 2005 +++ llvm/tools/gccld/GenerateCode.cpp Sun May 14 14:17:28 2006 @@ -438,7 +438,9 @@ // Run the compiler to assembly and link together the program. if (Verbose) dumpArgs(&args[0]); - int Res = sys::Program::ExecuteAndWait(gcc, &args[0], (const char**)clean_env); + int Res = sys::Program::ExecuteAndWait(gcc, &args[0],(const char**)clean_env); + + delete [] clean_env; while (!StringsToDelete.empty()) { free(StringsToDelete.back()); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/CREDITS.TXT
Changes in directory llvm: CREDITS.TXT updated: 1.51 -> 1.52 --- Log message: added myself to CREDITS.TXT --- Diffs of the changes: (+4 -0) CREDITS.TXT |4 1 files changed, 4 insertions(+) Index: llvm/CREDITS.TXT diff -u llvm/CREDITS.TXT:1.51 llvm/CREDITS.TXT:1.52 --- llvm/CREDITS.TXT:1.51 Wed Apr 12 21:05:30 2006 +++ llvm/CREDITS.TXTSun May 14 15:29:25 2006 @@ -55,6 +55,10 @@ E: [EMAIL PROTECTED] D: Autoconf support, QMTest database, documentation improvements +N: Rafael Avila de Espindola +E: [EMAIL PROTECTED] +D: The ARM backend + N: Alkis Evlogimenos E: [EMAIL PROTECTED] D: Linear scan register allocator, many codegen improvements, Java frontend ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Target/ARM/
Changes in directory llvm/lib/Target/ARM: --- Log message: Directory /var/cvs/llvm/llvm/lib/Target/ARM added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/configure
Changes in directory llvm: configure updated: 1.227 -> 1.228 --- Log message: added a skeleton of the ARM backend --- Diffs of the changes: (+1 -1) configure |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/configure diff -u llvm/configure:1.227 llvm/configure:1.228 --- llvm/configure:1.227Mon May 8 19:31:00 2006 +++ llvm/configure Sun May 14 17:18:28 2006 @@ -3107,7 +3107,7 @@ enableval=all fi; case "$enableval" in - all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64" ;; + all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM" ;; host-only) case "$llvm_cv_target_arch" in x86) TARGETS_TO_BUILD="X86" ;; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llc/Makefile
Changes in directory llvm/tools/llc: Makefile updated: 1.80 -> 1.81 --- Log message: added a skeleton of the ARM backend --- Diffs of the changes: (+5 -0) Makefile |5 + 1 files changed, 5 insertions(+) Index: llvm/tools/llc/Makefile diff -u llvm/tools/llc/Makefile:1.80 llvm/tools/llc/Makefile:1.81 --- llvm/tools/llc/Makefile:1.80Thu Apr 20 12:07:46 2006 +++ llvm/tools/llc/Makefile Sun May 14 17:18:28 2006 @@ -48,6 +48,11 @@ USEDLIBS += LLVMIA64 endif +#Check for ARM Target +ifneq ($(strip $(filter ARM,$(TARGETS_TO_BUILD))),) +USEDLIBS += LLVMARM +endif + USEDLIBS += \ LLVMSelectionDAG \ LLVMCodeGen \ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/autoconf/configure.ac
Changes in directory llvm/autoconf: configure.ac updated: 1.224 -> 1.225 --- Log message: added a skeleton of the ARM backend --- Diffs of the changes: (+1 -1) configure.ac |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/autoconf/configure.ac diff -u llvm/autoconf/configure.ac:1.224 llvm/autoconf/configure.ac:1.225 --- llvm/autoconf/configure.ac:1.224Mon May 8 19:31:01 2006 +++ llvm/autoconf/configure.ac Sun May 14 17:18:28 2006 @@ -285,7 +285,7 @@ [Build specific host targets: all,host-only,{target-name} (default=all)]),, enableval=all) case "$enableval" in - all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64" ;; + all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha IA64 ARM" ;; host-only) case "$llvm_cv_target_arch" in x86) TARGETS_TO_BUILD="X86" ;; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Target/ARM/ARM.h ARM.td ARMAsmPrinter.cpp ARMISelDAGToDAG.cpp ARMInstrInfo.cpp ARMInstrInfo.h ARMInstrInfo.td ARMRegisterInfo.cpp ARMRegisterInfo.h ARMRegisterInfo.td ARMT
Changes in directory llvm/lib/Target/ARM: ARM.h added (r1.1) ARM.td added (r1.1) ARMAsmPrinter.cpp added (r1.1) ARMISelDAGToDAG.cpp added (r1.1) ARMInstrInfo.cpp added (r1.1) ARMInstrInfo.h added (r1.1) ARMInstrInfo.td added (r1.1) ARMRegisterInfo.cpp added (r1.1) ARMRegisterInfo.h added (r1.1) ARMRegisterInfo.td added (r1.1) ARMTargetMachine.cpp added (r1.1) ARMTargetMachine.h added (r1.1) Makefile added (r1.1) --- Log message: added a skeleton of the ARM backend --- Diffs of the changes: (+894 -0) ARM.h| 40 ++ ARM.td | 51 ++ ARMAsmPrinter.cpp| 115 ++ ARMISelDAGToDAG.cpp | 137 +++ ARMInstrInfo.cpp | 58 + ARMInstrInfo.h | 57 + ARMInstrInfo.td | 54 ARMRegisterInfo.cpp | 91 + ARMRegisterInfo.h| 66 ARMRegisterInfo.td | 56 ARMTargetMachine.cpp | 99 ARMTargetMachine.h | 49 ++ Makefile | 21 +++ 13 files changed, 894 insertions(+) Index: llvm/lib/Target/ARM/ARM.h diff -c /dev/null llvm/lib/Target/ARM/ARM.h:1.1 *** /dev/null Sun May 14 17:18:38 2006 --- llvm/lib/Target/ARM/ARM.h Sun May 14 17:18:28 2006 *** *** 0 --- 1,40 + //===-- ARM.h - Top-level interface for ARM representation --*- C++ -*-===// + // + // The LLVM Compiler Infrastructure + // + // This file was developed by the "Instituto Nokia de Tecnologia" and + // is distributed under the University of Illinois Open Source + // License. See LICENSE.TXT for details. + // + //===--===// + // + // This file contains the entry points for global functions defined in the LLVM + // ARM back-end. + // + //===--===// + + #ifndef TARGET_ARM_H + #define TARGET_ARM_H + + #include + #include + + namespace llvm { + class FunctionPass; + class TargetMachine; + + FunctionPass *createARMISelDag(TargetMachine &TM); + FunctionPass *createARMCodePrinterPass(std::ostream &OS, TargetMachine &TM); + } // end namespace llvm; + + // Defines symbolic names for ARM registers. This defines a mapping from + // register name to register number. + // + #include "ARMGenRegisterNames.inc" + + // Defines symbolic names for the ARM instructions. + // + #include "ARMGenInstrNames.inc" + + + #endif Index: llvm/lib/Target/ARM/ARM.td diff -c /dev/null llvm/lib/Target/ARM/ARM.td:1.1 *** /dev/null Sun May 14 17:18:42 2006 --- llvm/lib/Target/ARM/ARM.td Sun May 14 17:18:28 2006 *** *** 0 --- 1,51 + //===- ARM.td - Describe the ARM Target Machine -*- C++ -*-===// + // + // The LLVM Compiler Infrastructure + // + // This file was developed by the "Instituto Nokia de Tecnologia" and + // is distributed under the University of Illinois Open Source + // License. See LICENSE.TXT for details. + // + //===--===// + // + // + //===--===// + + //===--===// + // Target-independent interfaces which we are implementing + //===--===// + + include "../Target.td" + + //===--===// + // Register File Description + //===--===// + + include "ARMRegisterInfo.td" + + //===--===// + // Instruction Descriptions + //===--===// + + include "ARMInstrInfo.td" + + def ARMInstrInfo : InstrInfo { + // Define how we want to layout our target-specific information field. + let TSFlagsFields = []; + let TSFlagsShifts = []; + } + + //===--===// + // Declare the target which we are implementing + //===--===// + + def ARM : Target { + // Pointers are 32-bits in size. + let PointerType = i32; + + // FIXME: Specify callee-saved registers + let CalleeSavedRegisters = []; + + // Pull in Instruction Info: + let InstructionSet = ARMInstrInfo; + } Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp diff -c /dev/null llvm/lib/Target/ARM/ARMAsmPrinter.cpp:1.1 *** /dev/null Sun May 14 17:18:42 2006 --- llvm/lib/Target/ARM/ARMAsmPrinter.cpp Sun Ma
[llvm-commits] CVS: llvm/CREDITS.TXT
Changes in directory llvm: CREDITS.TXT updated: 1.52 -> 1.53 --- 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.52 llvm/CREDITS.TXT:1.53 --- llvm/CREDITS.TXT:1.52 Sun May 14 15:29:25 2006 +++ llvm/CREDITS.TXTMon May 15 00:13:07 2006 @@ -13,6 +13,10 @@ W: http://www.cs.uiuc.edu/~vadve/ D: The Sparc64 backend, provider of much wisdom, and motivator for LLVM +N: Owen Anderson +E: [EMAIL PROTECTED] +D: TargetData refactoring, random improvements + N: Henrik Bach D: MingW Win32 API portability layer ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Changes in directory llvm/lib/Target/PowerPC: PPCAsmPrinter.cpp updated: 1.175 -> 1.176 --- Log message: Remove some dead code, identified by coverity. --- Diffs of the changes: (+0 -6) PPCAsmPrinter.cpp |6 -- 1 files changed, 6 deletions(-) Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.175 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.176 --- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.175 Fri May 12 12:33:59 2006 +++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Mon May 15 00:48:32 2006 @@ -350,13 +350,7 @@ #include "PPCGenAsmWriter.inc" void PPCAsmPrinter::printOp(const MachineOperand &MO) { - const MRegisterInfo &RI = *TM.getRegisterInfo(); - int new_symbol; - switch (MO.getType()) { -O << RI.get(MO.getReg()).Name; -return; - case MachineOperand::MO_Immediate: std::cerr << "printOp() does not handle immediate values\n"; abort(); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits