[llvm-commits] [release_16] CVS: llvm-gcc/gcc/version.c
Changes in directory llvm-gcc/gcc: version.c updated: 1.3 -> 1.3.10.1 --- Log message: Changed the version and build date. --- Diffs of the changes: (+1 -1) version.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-gcc/gcc/version.c diff -u llvm-gcc/gcc/version.c:1.3 llvm-gcc/gcc/version.c:1.3.10.1 --- llvm-gcc/gcc/version.c:1.3 Thu Feb 5 10:05:45 2004 +++ llvm-gcc/gcc/version.c Mon Oct 24 09:10:29 2005 @@ -5,7 +5,7 @@ please modify this string to indicate that, e.g. by putting your organization's name in parentheses at the end of the string. */ -const char version_string[] = "3.4-llvm 20030924 (experimental)"; +const char version_string[] = "3.4-llvm 20051104 (LLVM 1.6)"; /* This is the location of the online document giving instructions for reporting bugs. If you distribute a modified version of GCC, ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/docs/LangRef.html
Changes in directory llvm/docs: LangRef.html updated: 1.112 -> 1.113 --- Log message: Grammar and punctuation fixes. --- Diffs of the changes: (+11 -11) LangRef.html | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.112 llvm/docs/LangRef.html:1.113 --- llvm/docs/LangRef.html:1.112Wed Jul 20 20:29:16 2005 +++ llvm/docs/LangRef.html Mon Oct 24 11:17:18 2005 @@ -495,11 +495,11 @@ Global variables define regions of memory allocated at compilation time instead of run-time. Global variables may optionally be initialized. A -variable may be defined as a global "constant", which indicates that the +variable may be defined as a global "constant," which indicates that the contents of the variable will never be modified (enabling better optimization, allowing the global data to be placed in the read-only section of an executable, etc). Note that variables that need runtime initialization -cannot be marked "constant", as there is a store to the variable. +cannot be marked "constant" as there is a store to the variable. LLVM explicitly allows declarations of global variables to be marked @@ -720,8 +720,8 @@ -Note that 'variable sized arrays' can be implemented in LLVM With a zero -length array. Normally accesses past the end of an array are undefined in +Note that 'variable sized arrays' can be implemented in LLVM with a zero +length array. Normally, accesses past the end of an array are undefined in LLVM (e.g. it is illegal to access the 5th element of a 3 element array). As a special case, however, zero length arrays are recognized to be variable length. This allows implementation of 'pascal style arrays' with the LLVM @@ -743,7 +743,7 @@ Syntax:( ) -Where ' ' is a comma-separated list of type +...where ' ' is a comma-separated list of type specifiers. Optionally, the parameter list may include a type ..., which indicates that the function takes a variable number of arguments. Variable argument functions can access their arguments with the The string 'zeroinitializer' can be used to zero initialize a value to zero of any type, including scalar and aggregate types. This is often used to avoid having to print large zero initializers (e.g. for - large arrays), and is always exactly equivalent to using explicit zero + large arrays) and is always exactly equivalent to using explicit zero initializers. @@ -1486,7 +1486,7 @@ This returns the remainder of a division (where the result has the same sign as the divisor), not the modulus (where the result has the same sign as the dividend) of a value. For more -information about the difference, see: http://mathforum.org/dr.math/problems/anne.4.28.99.html";>The Math Forum. Example: @@ -1863,9 +1863,9 @@ The 'load' instruction is used to read from memory. Arguments: The argument to the 'load' instruction specifies the memory -address to load from. The pointer must point to a first class type. If the load is -marked as volatile then the optimizer is not allowed to modify +marked as volatile, then the optimizer is not allowed to modify the number or order of execution of this load with other volatile load and store instructions. @@ -1889,7 +1889,7 @@ The 'store' instruction is used to write to memory. Arguments: There are two arguments to the 'store' instruction: a value -to store and an address to store it into. The type of the ' ' +to store and an address in which to store it. The type of the ' ' operand must be a pointer to the type of the ' ' operand. If the store is marked as volatile, then the optimizer is not allowed to modify the number or order of execution of @@ -3314,7 +3314,7 @@ mailto:[EMAIL PROTECTED]">Chris Lattner http://llvm.cs.uiuc.edu";>The LLVM Compiler Infrastructure - Last modified: $Date: 2005/07/21 01:29:16 $ + Last modified: $Date: 2005/10/24 16:17:18 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/docs/BytecodeFormat.html
Changes in directory llvm/docs: BytecodeFormat.html updated: 1.41 -> 1.42 --- Log message: Fixed a grammar issue. --- Diffs of the changes: (+2 -2) BytecodeFormat.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/BytecodeFormat.html diff -u llvm/docs/BytecodeFormat.html:1.41 llvm/docs/BytecodeFormat.html:1.42 --- llvm/docs/BytecodeFormat.html:1.41 Fri May 13 20:30:15 2005 +++ llvm/docs/BytecodeFormat.html Mon Oct 24 11:20:10 2005 @@ -732,7 +732,7 @@ Of particular note, the bytecode format number is simply a 28-bit -monotonically increase integer that identifies the version of the bytecode +monotonically increasing integer that identifies the version of the bytecode format (which is not directly related to the LLVM release number). The bytecode versions defined so far are (note that this document only describes the latest version, 1.3): @@ -1935,7 +1935,7 @@ mailto:[EMAIL PROTECTED]">Reid Spencer and mailto:[EMAIL PROTECTED]">Chris Lattner http://llvm.cs.uiuc.edu";>The LLVM Compiler Infrastructure -Last modified: $Date: 2005/05/14 01:30:15 $ +Last modified: $Date: 2005/10/24 16:20:10 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/docs/CFEBuildInstrs.html
Changes in directory llvm/docs: CFEBuildInstrs.html updated: 1.53 -> 1.54 --- Log message: Attempt to make terminology more consistent. --- Diffs of the changes: (+4 -3) CFEBuildInstrs.html |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) Index: llvm/docs/CFEBuildInstrs.html diff -u llvm/docs/CFEBuildInstrs.html:1.53 llvm/docs/CFEBuildInstrs.html:1.54 --- llvm/docs/CFEBuildInstrs.html:1.53 Tue Sep 20 22:56:26 2005 +++ llvm/docs/CFEBuildInstrs.html Mon Oct 24 11:37:24 2005 @@ -68,9 +68,10 @@ and Settings" directory). We welcome patches to fix this issue. It has been found that the GCC 3.3.3 compiler provided with recent Cygwin -versions is incapable of compiling the LLVM CFE correctly. If your Cygwin +versions is incapable of compiling the LLVM GCC front-end correctly. If your +Cygwin installation includes GCC 3.3.3, we strongly recommend that you download -GCC 3.4.3, build it separately, and use it for compiling LLVM CFE. This has been +GCC 3.4.3, build it separately, and use it for compiling the LLVM GCC front-end. This has been shown to work correctly. Some versions of Cygwin utilize an experimental version of GNU binutils that will cause the GNU ld linker to fail an assertion when linking @@ -356,7 +357,7 @@ Brian Gaeke http://llvm.cs.uiuc.edu";>LLVM Compiler Infrastructure - Last modified: $Date: 2005/09/21 03:56:26 $ + Last modified: $Date: 2005/10/24 16:37:24 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/docs/Projects.html
Changes in directory llvm/docs: Projects.html updated: 1.18 -> 1.19 --- Log message: Added a note to remove CVS directories when copying the sample project to a new project. Kudos to Rob for suggesting that I add this important step. --- Diffs of the changes: (+7 -1) Projects.html |8 +++- 1 files changed, 7 insertions(+), 1 deletion(-) Index: llvm/docs/Projects.html diff -u llvm/docs/Projects.html:1.18 llvm/docs/Projects.html:1.19 --- llvm/docs/Projects.html:1.18Sun Feb 27 19:10:48 2005 +++ llvm/docs/Projects.html Mon Oct 24 11:43:08 2005 @@ -87,6 +87,12 @@ choosing. You can place it anywhere you like. Rename the directory to match the name of your project. + +If you downloaded LLVM using CVS, remove all the directories named CVS (and all +the files therein) from your project's new source tree. This will keep CVS +from thinking that your project is inside llvm/projects/sample. + + Add your source code and Makefiles to your source tree. If you want your project to be configured with the configure script @@ -447,7 +453,7 @@ mailto:[EMAIL PROTECTED]">John Criswell http://llvm.cs.uiuc.edu";>The LLVM Compiler Infrastructure - Last modified: $Date: 2005/02/28 01:10:48 $ + Last modified: $Date: 2005/10/24 16:43:08 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/docs/MakefileGuide.html
Changes in directory llvm/docs: MakefileGuide.html updated: 1.25 -> 1.26 --- Log message: Fixed spelling. --- Diffs of the changes: (+2 -2) MakefileGuide.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/MakefileGuide.html diff -u llvm/docs/MakefileGuide.html:1.25 llvm/docs/MakefileGuide.html:1.26 --- llvm/docs/MakefileGuide.html:1.25 Tue May 10 17:06:14 2005 +++ llvm/docs/MakefileGuide.htmlMon Oct 24 11:47:40 2005 @@ -552,7 +552,7 @@ This utility target, only available when $(PROJ_OBJ_ROOT) is not the same as $(PROJ_SRC_ROOT), will completely clean the - $(PROJ_OBJ_ROOT) directoy by removing its content entirely and + $(PROJ_OBJ_ROOT) directory by removing its content entirely and reconfiguring the directory. This returns the $(PROJ_OBJ_ROOT) directory to a completely fresh state. All content in the directory except configured files and top-level makefiles will be lost. @@ -999,7 +999,7 @@ mailto:[EMAIL PROTECTED]">Reid Spencer http://llvm.cs.uiuc.edu";>The LLVM Compiler Infrastructure - Last modified: $Date: 2005/05/10 22:06:14 $ + Last modified: $Date: 2005/10/24 16:47:40 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/docs/BytecodeFormat.html
Changes in directory llvm/docs: BytecodeFormat.html updated: 1.42 -> 1.43 --- Log message: Updated bytecode version numbers. --- Diffs of the changes: (+4 -2) BytecodeFormat.html |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Index: llvm/docs/BytecodeFormat.html diff -u llvm/docs/BytecodeFormat.html:1.42 llvm/docs/BytecodeFormat.html:1.43 --- llvm/docs/BytecodeFormat.html:1.42 Mon Oct 24 11:20:10 2005 +++ llvm/docs/BytecodeFormat.html Mon Oct 24 12:10:57 2005 @@ -740,7 +740,9 @@ #0: LLVM 1.0 & 1.1 #1: LLVM 1.2 #2: LLVM 1.2.5 (not released) - #3: LLVM 1.3 + #3: LLVM 1.3 + #4: LLVM 1.3.x (not released) + #5: LLVM 1.4, 1.5, 1.6 Note that we plan to eventually expand the target description @@ -1935,7 +1937,7 @@ mailto:[EMAIL PROTECTED]">Reid Spencer and mailto:[EMAIL PROTECTED]">Chris Lattner http://llvm.cs.uiuc.edu";>The LLVM Compiler Infrastructure -Last modified: $Date: 2005/10/24 16:20:10 $ +Last modified: $Date: 2005/10/24 17:10:57 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/MultiSource/Applications/hexxagon/bitboard64.h
Changes in directory llvm-test/MultiSource/Applications/hexxagon: bitboard64.h updated: 1.2 -> 1.3 --- Log message: Add sys/types.h, which seems to fix a silly bug in Apple's netinet/in.h header file where they don't define in_addr_t. --- Diffs of the changes: (+1 -0) bitboard64.h |1 + 1 files changed, 1 insertion(+) Index: llvm-test/MultiSource/Applications/hexxagon/bitboard64.h diff -u llvm-test/MultiSource/Applications/hexxagon/bitboard64.h:1.2 llvm-test/MultiSource/Applications/hexxagon/bitboard64.h:1.3 --- llvm-test/MultiSource/Applications/hexxagon/bitboard64.h:1.2Thu Aug 4 15:05:30 2005 +++ llvm-test/MultiSource/Applications/hexxagon/bitboard64.hWed Oct 26 10:06:47 2005 @@ -23,6 +23,7 @@ #ifndef _BITBOARD64_H #define _BITBOARD64_H +#include #include #include #include ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp
Changes in directory llvm-test/MultiSource/Applications/hexxagon: hexxagonmove.cpp updated: 1.2 -> 1.3 --- Log message: Darwin (__APPLE__) uses gettimeofday. This fixes compilation on MacOS X. --- Diffs of the changes: (+2 -2) hexxagonmove.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp diff -u llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:1.2 llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:1.3 --- llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:1.2Mon Mar 7 10:41:13 2005 +++ llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cppWed Oct 26 10:34:35 2005 @@ -25,7 +25,7 @@ #include #include -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__APPLE__) #include #else #include @@ -87,7 +87,7 @@ int getTime() { -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__APPLE__) struct timeval tv; gettimeofday(&tv, NULL); ___ 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.75 -> 1.76 --- Log message: 1. Remove libraries no longer created from the list of libraries linked into the SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llc/Makefile diff -u llvm/tools/llc/Makefile:1.75 llvm/tools/llc/Makefile:1.76 --- llvm/tools/llc/Makefile:1.75Tue Oct 25 12:10:30 2005 +++ llvm/tools/llc/Makefile Wed Oct 26 15:35:12 2005 @@ -70,7 +70,7 @@ LLVMipa.a \ LLVMTransforms.a \ LLVMScalarOpts.a \ - LLVMTransformUtils.a \ + LLVMTransformUtils \ LLVMAnalysis.a \ LLVMBCReader \ LLVMBCWriter \ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-extract/Makefile
Changes in directory llvm/tools/llvm-extract: Makefile updated: 1.1 -> 1.2 --- Log message: 1. Remove libraries no longer created from the list of libraries linked into the SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llvm-extract/Makefile diff -u llvm/tools/llvm-extract/Makefile:1.1 llvm/tools/llvm-extract/Makefile:1.2 --- llvm/tools/llvm-extract/Makefile:1.1Sun Apr 24 12:35:15 2005 +++ llvm/tools/llvm-extract/MakefileWed Oct 26 15:35:12 2005 @@ -10,7 +10,7 @@ TOOLNAME = llvm-extract USEDLIBS = LLVMBCReader LLVMBCWriter LLVMTransforms.a LLVMipo.a LLVMTarget.a \ - LLVMAnalysis.a LLVMTransformUtils.a LLVMipa.a \ + LLVMAnalysis.a LLVMTransformUtils LLVMipa.a \ LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/opt/Makefile
Changes in directory llvm/tools/opt: Makefile updated: 1.51 -> 1.52 --- Log message: 1. Remove libraries no longer created from the list of libraries linked into the SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/opt/Makefile diff -u llvm/tools/opt/Makefile:1.51 llvm/tools/opt/Makefile:1.52 --- llvm/tools/opt/Makefile:1.51Sun Oct 23 21:31:05 2005 +++ llvm/tools/opt/Makefile Wed Oct 26 15:35:13 2005 @@ -11,7 +11,7 @@ USEDLIBS = LLVMBCReader LLVMBCWriter LLVMInstrumentation.a \ LLVMScalarOpts.a LLVMipo.a LLVMipa.a LLVMDataStructure LLVMTransforms.a \ - LLVMTarget.a LLVMAnalysis.a LLVMTransformUtils.a LLVMCore LLVMSupport.a \ + LLVMTarget.a LLVMAnalysis.a LLVMTransformUtils LLVMCore LLVMSupport.a \ LLVMbzip2 LLVMSystem.a include $(LEVEL)/Makefile.common ___ 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/Makefile
Changes in directory llvm/lib/Transforms/Utils: Makefile updated: 1.6 -> 1.7 --- Log message: 1. Remove libraries no longer created from the list of libraries linked into the SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. --- Diffs of the changes: (+0 -1) Makefile |1 - 1 files changed, 1 deletion(-) Index: llvm/lib/Transforms/Utils/Makefile diff -u llvm/lib/Transforms/Utils/Makefile:1.6 llvm/lib/Transforms/Utils/Makefile:1.7 --- llvm/lib/Transforms/Utils/Makefile:1.6 Sun Oct 23 21:26:13 2005 +++ llvm/lib/Transforms/Utils/Makefile Wed Oct 26 15:35:12 2005 @@ -9,7 +9,6 @@ LEVEL = ../../.. LIBRARYNAME = LLVMTransformUtils -BUILD_ARCHIVE = 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/analyze/Makefile
Changes in directory llvm/tools/analyze: Makefile updated: 1.28 -> 1.29 --- Log message: 1. Remove libraries no longer created from the list of libraries linked into the SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/analyze/Makefile diff -u llvm/tools/analyze/Makefile:1.28 llvm/tools/analyze/Makefile:1.29 --- llvm/tools/analyze/Makefile:1.28Sun Oct 23 20:07:56 2005 +++ llvm/tools/analyze/Makefile Wed Oct 26 15:35:12 2005 @@ -11,6 +11,6 @@ USEDLIBS = LLVMAsmParser LLVMBCReader LLVMAnalysis.a LLVMipa.a \ LLVMDataStructure \ LLVMScalarOpts.a LLVMTransforms.a LLVMTarget.a LLVMScalarOpts.a \ - LLVMTransformUtils.a LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a + LLVMTransformUtils LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a include $(LEVEL)/Makefile.common ___ 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/Makefile
Changes in directory llvm/tools/llvm-ld: Makefile updated: 1.5 -> 1.6 --- Log message: 1. Remove libraries no longer created from the list of libraries linked into the SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llvm-ld/Makefile diff -u llvm/tools/llvm-ld/Makefile:1.5 llvm/tools/llvm-ld/Makefile:1.6 --- llvm/tools/llvm-ld/Makefile:1.5 Thu Nov 25 14:22:07 2004 +++ llvm/tools/llvm-ld/Makefile Wed Oct 26 15:35:13 2005 @@ -11,7 +11,7 @@ TOOLNAME = llvm-ld USEDLIBS = LLVMipo.a LLVMTransforms.a LLVMScalarOpts.a LLVMAnalysis.a \ - LLVMipa.a LLVMTransformUtils.a LLVMTarget.a LLVMLinker.a \ + LLVMipa.a LLVMTransformUtils LLVMTarget.a LLVMLinker.a \ LLVMArchive.a LLVMBCReader LLVMBCWriter \ LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/gccas/Makefile
Changes in directory llvm/tools/gccas: Makefile updated: 1.22 -> 1.23 --- Log message: 1. Remove libraries no longer created from the list of libraries linked into the SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/gccas/Makefile diff -u llvm/tools/gccas/Makefile:1.22 llvm/tools/gccas/Makefile:1.23 --- llvm/tools/gccas/Makefile:1.22 Sun Oct 23 20:12:14 2005 +++ llvm/tools/gccas/Makefile Wed Oct 26 15:35:12 2005 @@ -10,7 +10,7 @@ TOOLNAME = gccas USEDLIBS = LLVMAsmParser LLVMBCWriter LLVMTransforms.a LLVMipo.a LLVMipa.a \ - LLVMScalarOpts.a LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils.a \ + LLVMScalarOpts.a LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils \ LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/bugpoint/Makefile
Changes in directory llvm/tools/bugpoint: Makefile updated: 1.14 -> 1.15 --- Log message: 1. Remove libraries no longer created from the list of libraries linked into the SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/bugpoint/Makefile diff -u llvm/tools/bugpoint/Makefile:1.14 llvm/tools/bugpoint/Makefile:1.15 --- llvm/tools/bugpoint/Makefile:1.14 Sun Oct 23 21:31:05 2005 +++ llvm/tools/bugpoint/MakefileWed Oct 26 15:35:12 2005 @@ -14,7 +14,7 @@ ANALIBS = LLVMDataStructure LLVMipa.a LLVMTarget.a USEDLIBS = LLVMipo.a LLVMScalarOpts.a $(OPTLIBS) $(ANALIBS) LLVMAnalysis.a \ - LLVMTransformUtils.a \ + LLVMTransformUtils \ LLVMAsmParser LLVMLinker.a LLVMBCReader LLVMBCWriter \ LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/gccld/Makefile
Changes in directory llvm/tools/gccld: Makefile updated: 1.12 -> 1.13 --- Log message: 1. Remove libraries no longer created from the list of libraries linked into the SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/gccld/Makefile diff -u llvm/tools/gccld/Makefile:1.12 llvm/tools/gccld/Makefile:1.13 --- llvm/tools/gccld/Makefile:1.12 Sun Apr 24 12:43:38 2005 +++ llvm/tools/gccld/Makefile Wed Oct 26 15:35:12 2005 @@ -11,7 +11,7 @@ TOOLNAME = gccld USEDLIBS = LLVMipo.a LLVMTransforms.a LLVMScalarOpts.a LLVMAnalysis.a \ - LLVMipa.a LLVMTransformUtils.a LLVMTarget.a LLVMLinker.a \ + LLVMipa.a LLVMTransformUtils LLVMTarget.a LLVMLinker.a \ LLVMArchive.a LLVMBCReader LLVMBCWriter \ LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/Makefile.rules
Changes in directory llvm: Makefile.rules updated: 1.333 -> 1.334 --- Log message: 1. Remove libraries no longer created from the list of libraries linked into the SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. --- Diffs of the changes: (+3 -3) Makefile.rules |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/Makefile.rules diff -u llvm/Makefile.rules:1.333 llvm/Makefile.rules:1.334 --- llvm/Makefile.rules:1.333 Tue Oct 25 12:54:19 2005 +++ llvm/Makefile.rules Wed Oct 26 15:35:01 2005 @@ -588,9 +588,9 @@ # What the Sparc JIT requires ifdef ENABLE_SPARCV9_JIT JIT_LIBS += LLVMSparcV9 LLVMSparcV9ModuloSched LLVMSparcV9InstrSched \ - LLVMSparcV9LiveVar LLVMInstrumentation.a LLVMProfilePaths \ + LLVMSparcV9LiveVar LLVMInstrumentation.a \ LLVMBCWriter LLVMTransforms.a LLVMipo.a LLVMipa.a \ - LLVMDataStructure.a LLVMSparcV9RegAlloc + LLVMDataStructure LLVMSparcV9RegAlloc endif # You can enable the PowerPC JIT on a non-PowerPC host by setting the flag @@ -617,7 +617,7 @@ JIT_LIBS += LLVMAlpha LLVMSelectionDAG endif -LLVMLIBS := $(JIT_LIBS) LLVMScalarOpts.a LLVMTransformUtils.a LLVMAnalysis.a \ +LLVMLIBS := $(JIT_LIBS) LLVMScalarOpts.a LLVMTransformUtils LLVMAnalysis.a \ LLVMBCReader LLVMCore LLVMSupport.a LLVMTarget.a LLVMbzip2 \ LLVMSystem.a $(PLATFORMLIBDL) endif ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/Makefile.rules
Changes in directory llvm: Makefile.rules updated: 1.334 -> 1.335 --- Log message: Move some constant folding code shared by Analysis and Transform passes into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. --- Diffs of the changes: (+1 -1) Makefile.rules |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/Makefile.rules diff -u llvm/Makefile.rules:1.334 llvm/Makefile.rules:1.335 --- llvm/Makefile.rules:1.334 Wed Oct 26 15:35:01 2005 +++ llvm/Makefile.rules Thu Oct 27 10:54:28 2005 @@ -617,7 +617,7 @@ JIT_LIBS += LLVMAlpha LLVMSelectionDAG endif -LLVMLIBS := $(JIT_LIBS) LLVMScalarOpts.a LLVMTransformUtils LLVMAnalysis.a \ +LLVMLIBS := $(JIT_LIBS) LLVMScalarOpts.a LLVMTransformUtils.a LLVMAnalysis.a \ LLVMBCReader LLVMCore LLVMSupport.a LLVMTarget.a LLVMbzip2 \ LLVMSystem.a $(PLATFORMLIBDL) endif ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/llvm-extract/Makefile
Changes in directory llvm/tools/llvm-extract: Makefile updated: 1.2 -> 1.3 --- Log message: Move some constant folding code shared by Analysis and Transform passes into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llvm-extract/Makefile diff -u llvm/tools/llvm-extract/Makefile:1.2 llvm/tools/llvm-extract/Makefile:1.3 --- llvm/tools/llvm-extract/Makefile:1.2Wed Oct 26 15:35:12 2005 +++ llvm/tools/llvm-extract/MakefileThu Oct 27 10:54:34 2005 @@ -10,7 +10,7 @@ TOOLNAME = llvm-extract USEDLIBS = LLVMBCReader LLVMBCWriter LLVMTransforms.a LLVMipo.a LLVMTarget.a \ - LLVMAnalysis.a LLVMTransformUtils LLVMipa.a \ + LLVMAnalysis.a LLVMTransformUtils.a LLVMipa.a \ LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/gccld/Makefile
Changes in directory llvm/tools/gccld: Makefile updated: 1.13 -> 1.14 --- Log message: Move some constant folding code shared by Analysis and Transform passes into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/gccld/Makefile diff -u llvm/tools/gccld/Makefile:1.13 llvm/tools/gccld/Makefile:1.14 --- llvm/tools/gccld/Makefile:1.13 Wed Oct 26 15:35:12 2005 +++ llvm/tools/gccld/Makefile Thu Oct 27 10:54:33 2005 @@ -11,7 +11,7 @@ TOOLNAME = gccld USEDLIBS = LLVMipo.a LLVMTransforms.a LLVMScalarOpts.a LLVMAnalysis.a \ - LLVMipa.a LLVMTransformUtils LLVMTarget.a LLVMLinker.a \ + LLVMipa.a LLVMTransformUtils.a LLVMTarget.a LLVMLinker.a \ LLVMArchive.a LLVMBCReader LLVMBCWriter \ LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/opt/Makefile
Changes in directory llvm/tools/opt: Makefile updated: 1.52 -> 1.53 --- Log message: Move some constant folding code shared by Analysis and Transform passes into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/opt/Makefile diff -u llvm/tools/opt/Makefile:1.52 llvm/tools/opt/Makefile:1.53 --- llvm/tools/opt/Makefile:1.52Wed Oct 26 15:35:13 2005 +++ llvm/tools/opt/Makefile Thu Oct 27 10:54:34 2005 @@ -11,7 +11,7 @@ USEDLIBS = LLVMBCReader LLVMBCWriter LLVMInstrumentation.a \ LLVMScalarOpts.a LLVMipo.a LLVMipa.a LLVMDataStructure LLVMTransforms.a \ - LLVMTarget.a LLVMAnalysis.a LLVMTransformUtils LLVMCore LLVMSupport.a \ + LLVMTarget.a LLVMAnalysis.a LLVMTransformUtils.a LLVMCore LLVMSupport.a \ LLVMbzip2 LLVMSystem.a include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.43 -> 1.44 --- Log message: Move some constant folding code shared by Analysis and Transform passes into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. --- Diffs of the changes: (+1 -1) ScalarEvolution.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Analysis/ScalarEvolution.cpp diff -u llvm/lib/Analysis/ScalarEvolution.cpp:1.43 llvm/lib/Analysis/ScalarEvolution.cpp:1.44 --- llvm/lib/Analysis/ScalarEvolution.cpp:1.43 Wed Sep 28 17:30:58 2005 +++ llvm/lib/Analysis/ScalarEvolution.cpp Thu Oct 27 10:54:33 2005 @@ -64,10 +64,10 @@ #include "llvm/DerivedTypes.h" #include "llvm/GlobalVariable.h" #include "llvm/Instructions.h" +#include "llvm/Analysis/ConstantFolding.h" #include "llvm/Analysis/LoopInfo.h" #include "llvm/Assembly/Writer.h" #include "llvm/Transforms/Scalar.h" -#include "llvm/Transforms/Utils/Local.h" #include "llvm/Support/CFG.h" #include "llvm/Support/ConstantRange.h" #include "llvm/Support/InstIterator.h" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/bugpoint/Makefile
Changes in directory llvm/tools/bugpoint: Makefile updated: 1.15 -> 1.16 --- Log message: Move some constant folding code shared by Analysis and Transform passes into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/bugpoint/Makefile diff -u llvm/tools/bugpoint/Makefile:1.15 llvm/tools/bugpoint/Makefile:1.16 --- llvm/tools/bugpoint/Makefile:1.15 Wed Oct 26 15:35:12 2005 +++ llvm/tools/bugpoint/MakefileThu Oct 27 10:54:33 2005 @@ -14,7 +14,7 @@ ANALIBS = LLVMDataStructure LLVMipa.a LLVMTarget.a USEDLIBS = LLVMipo.a LLVMScalarOpts.a $(OPTLIBS) $(ANALIBS) LLVMAnalysis.a \ - LLVMTransformUtils \ + LLVMTransformUtils.a \ LLVMAsmParser LLVMLinker.a LLVMBCReader LLVMBCWriter \ LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a ___ 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/Local.cpp Makefile
Changes in directory llvm/lib/Transforms/Utils: Local.cpp updated: 1.44 -> 1.45 Makefile updated: 1.7 -> 1.8 --- Log message: Move some constant folding code shared by Analysis and Transform passes into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. --- Diffs of the changes: (+2 -142) Local.cpp | 143 -- Makefile |1 2 files changed, 2 insertions(+), 142 deletions(-) Index: llvm/lib/Transforms/Utils/Local.cpp diff -u llvm/lib/Transforms/Utils/Local.cpp:1.44 llvm/lib/Transforms/Utils/Local.cpp:1.45 --- llvm/lib/Transforms/Utils/Local.cpp:1.44Tue Sep 27 20:34:32 2005 +++ llvm/lib/Transforms/Utils/Local.cpp Thu Oct 27 10:54:33 2005 @@ -12,6 +12,7 @@ // //===--===// +#include "llvm/Analysis/ConstantFolding.h" #include "llvm/Transforms/Utils/Local.h" #include "llvm/Constants.h" #include "llvm/DerivedTypes.h" @@ -234,148 +235,6 @@ return false; } -/// canConstantFoldCallTo - Return true if its even possible to fold a call to -/// the specified function. -bool llvm::canConstantFoldCallTo(Function *F) { - const std::string &Name = F->getName(); - - switch (F->getIntrinsicID()) { - case Intrinsic::isunordered: - case Intrinsic::sqrt: -return true; - default: break; - } - - switch (Name[0]) - { -case 'a': - return Name == "acos" || Name == "asin" || Name == "atan" || - Name == "atan2"; -case 'c': - return Name == "ceil" || Name == "cos" || Name == "cosf" || - Name == "cosh"; -case 'e': - return Name == "exp"; -case 'f': - return Name == "fabs" || Name == "fmod" || Name == "floor"; -case 'l': - return Name == "log" || Name == "log10"; -case 'p': - return Name == "pow"; -case 's': - return Name == "sin" || Name == "sinh" || Name == "sqrt"; -case 't': - return Name == "tan" || Name == "tanh"; -default: - return false; - } -} - -static Constant *ConstantFoldFP(double (*NativeFP)(double), double V, -const Type *Ty) { - errno = 0; - V = NativeFP(V); - if (errno == 0) -return ConstantFP::get(Ty, V); - return 0; -} - -/// ConstantFoldCall - Attempt to constant fold a call to the specified function -/// with the specified arguments, returning null if unsuccessful. -Constant *llvm::ConstantFoldCall(Function *F, - const std::vector &Operands) { - const std::string &Name = F->getName(); - const Type *Ty = F->getReturnType(); - - if (Operands.size() == 1) { -if (ConstantFP *Op = dyn_cast(Operands[0])) { - double V = Op->getValue(); - switch (Name[0]) - { -case 'a': - if (Name == "acos") -return ConstantFoldFP(acos, V, Ty); - else if (Name == "asin") -return ConstantFoldFP(asin, V, Ty); - else if (Name == "atan") -return ConstantFP::get(Ty, atan(V)); - break; -case 'c': - if (Name == "ceil") -return ConstantFoldFP(ceil, V, Ty); - else if (Name == "cos") -return ConstantFP::get(Ty, cos(V)); - else if (Name == "cosh") -return ConstantFP::get(Ty, cosh(V)); - break; -case 'e': - if (Name == "exp") -return ConstantFP::get(Ty, exp(V)); - break; -case 'f': - if (Name == "fabs") -return ConstantFP::get(Ty, fabs(V)); - else if (Name == "floor") -return ConstantFoldFP(floor, V, Ty); - break; -case 'l': - if (Name == "log" && V > 0) -return ConstantFP::get(Ty, log(V)); - else if (Name == "log10" && V > 0) -return ConstantFoldFP(log10, V, Ty); - else if (Name == "llvm.sqrt") { -if (V >= -0.0) - return ConstantFP::get(Ty, sqrt(V)); -else // Undefined - return ConstantFP::get(Ty, 0.0); - } - break; -case 's': - if (Name == "sin") -return ConstantFP::get(Ty, sin(V)); - else if (Name == "sinh") -return ConstantFP::get(Ty, sinh(V)); - else if (Name == "sqrt" && V >= 0) -return ConstantFP::get(Ty, sqrt(V)); - break; -case 't': - if (Name == "tan") -return ConstantFP::get(Ty, tan(V)); - else if (Name == "tanh") -return ConstantFP::get(Ty, tanh(V)); - break; -default: - break; - } -} - } else if (Operands.size() == 2) { -if (ConstantFP *Op1 = dyn_cast(Operands[0])) { - double Op1V = Op1->getValue(); - if (ConstantFP *Op2 = dyn_cast(Operands[1])) { -double Op2V = Op2->getValue(); - -if (Name == "ll
[llvm-commits] CVS: llvm/tools/llc/Makefile
Changes in directory llvm/tools/llc: Makefile updated: 1.76 -> 1.77 --- Log message: Move some constant folding code shared by Analysis and Transform passes into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llc/Makefile diff -u llvm/tools/llc/Makefile:1.76 llvm/tools/llc/Makefile:1.77 --- llvm/tools/llc/Makefile:1.76Wed Oct 26 15:35:12 2005 +++ llvm/tools/llc/Makefile Thu Oct 27 10:54:34 2005 @@ -70,7 +70,7 @@ LLVMipa.a \ LLVMTransforms.a \ LLVMScalarOpts.a \ - LLVMTransformUtils \ + LLVMTransformUtils.a \ LLVMAnalysis.a \ LLVMBCReader \ LLVMBCWriter \ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/analyze/Makefile
Changes in directory llvm/tools/analyze: Makefile updated: 1.29 -> 1.30 --- Log message: Move some constant folding code shared by Analysis and Transform passes into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/analyze/Makefile diff -u llvm/tools/analyze/Makefile:1.29 llvm/tools/analyze/Makefile:1.30 --- llvm/tools/analyze/Makefile:1.29Wed Oct 26 15:35:12 2005 +++ llvm/tools/analyze/Makefile Thu Oct 27 10:54:33 2005 @@ -11,6 +11,6 @@ USEDLIBS = LLVMAsmParser LLVMBCReader LLVMAnalysis.a LLVMipa.a \ LLVMDataStructure \ LLVMScalarOpts.a LLVMTransforms.a LLVMTarget.a LLVMScalarOpts.a \ - LLVMTransformUtils LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a + LLVMTransformUtils.a LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/gccas/Makefile
Changes in directory llvm/tools/gccas: Makefile updated: 1.23 -> 1.24 --- Log message: Move some constant folding code shared by Analysis and Transform passes into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/gccas/Makefile diff -u llvm/tools/gccas/Makefile:1.23 llvm/tools/gccas/Makefile:1.24 --- llvm/tools/gccas/Makefile:1.23 Wed Oct 26 15:35:12 2005 +++ llvm/tools/gccas/Makefile Thu Oct 27 10:54:33 2005 @@ -10,7 +10,7 @@ TOOLNAME = gccas USEDLIBS = LLVMAsmParser LLVMBCWriter LLVMTransforms.a LLVMipo.a LLVMipa.a \ - LLVMScalarOpts.a LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils \ + LLVMScalarOpts.a LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils.a \ LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a include $(LEVEL)/Makefile.common ___ 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/Makefile
Changes in directory llvm/tools/llvm-ld: Makefile updated: 1.6 -> 1.7 --- Log message: Move some constant folding code shared by Analysis and Transform passes into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/llvm-ld/Makefile diff -u llvm/tools/llvm-ld/Makefile:1.6 llvm/tools/llvm-ld/Makefile:1.7 --- llvm/tools/llvm-ld/Makefile:1.6 Wed Oct 26 15:35:13 2005 +++ llvm/tools/llvm-ld/Makefile Thu Oct 27 10:54:34 2005 @@ -11,7 +11,7 @@ TOOLNAME = llvm-ld USEDLIBS = LLVMipo.a LLVMTransforms.a LLVMScalarOpts.a LLVMAnalysis.a \ - LLVMipa.a LLVMTransformUtils LLVMTarget.a LLVMLinker.a \ + LLVMipa.a LLVMTransformUtils.a LLVMTarget.a LLVMLinker.a \ LLVMArchive.a LLVMBCReader LLVMBCWriter \ LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Analysis/ConstantFolding.cpp
Changes in directory llvm/lib/Analysis: ConstantFolding.cpp added (r1.1) --- Log message: Move some constant folding functions into LLVMAnalysis since they are used by Analysis and Transformation passes. --- Diffs of the changes: (+172 -0) ConstantFolding.cpp | 172 1 files changed, 172 insertions(+) Index: llvm/lib/Analysis/ConstantFolding.cpp diff -c /dev/null llvm/lib/Analysis/ConstantFolding.cpp:1.1 *** /dev/null Thu Oct 27 11:00:22 2005 --- llvm/lib/Analysis/ConstantFolding.cpp Thu Oct 27 11:00:11 2005 *** *** 0 --- 1,172 + //===-- ConstantFolding.cpp - Analyze constant folding possibilities --===// + // + // The LLVM Compiler Infrastructure + // + // This file was developed by the LLVM research group and is distributed under + // the University of Illinois Open Source License. See LICENSE.TXT for details. + // + //===--===// + // + // This family of functions determines the possibility of performing constant + // folding. + // + //===--===// + + #include "llvm/Analysis/ConstantFolding.h" + #include "llvm/Constants.h" + #include "llvm/DerivedTypes.h" + #include "llvm/Instructions.h" + #include "llvm/Intrinsics.h" + #include "llvm/Support/GetElementPtrTypeIterator.h" + #include "llvm/Support/MathExtras.h" + #include + #include + using namespace llvm; + + //===--===// + // Constant Folding ... + // + + + /// canConstantFoldCallTo - Return true if its even possible to fold a call to + /// the specified function. + bool + llvm::canConstantFoldCallTo(Function *F) { + const std::string &Name = F->getName(); + + switch (F->getIntrinsicID()) { + case Intrinsic::isunordered: + case Intrinsic::sqrt: + return true; + default: break; + } + + switch (Name[0]) + { + case 'a': + return Name == "acos" || Name == "asin" || Name == "atan" || + Name == "atan2"; + case 'c': + return Name == "ceil" || Name == "cos" || Name == "cosf" || + Name == "cosh"; + case 'e': + return Name == "exp"; + case 'f': + return Name == "fabs" || Name == "fmod" || Name == "floor"; + case 'l': + return Name == "log" || Name == "log10"; + case 'p': + return Name == "pow"; + case 's': + return Name == "sin" || Name == "sinh" || Name == "sqrt"; + case 't': + return Name == "tan" || Name == "tanh"; + default: + return false; + } + } + + Constant * + llvm::ConstantFoldFP(double (*NativeFP)(double), double V, const Type *Ty) { + errno = 0; + V = NativeFP(V); + if (errno == 0) + return ConstantFP::get(Ty, V); + return 0; + } + + /// ConstantFoldCall - Attempt to constant fold a call to the specified function + /// with the specified arguments, returning null if unsuccessful. + Constant * + llvm::ConstantFoldCall(Function *F, const std::vector &Operands) { + const std::string &Name = F->getName(); + const Type *Ty = F->getReturnType(); + + if (Operands.size() == 1) { + if (ConstantFP *Op = dyn_cast(Operands[0])) { + double V = Op->getValue(); + switch (Name[0]) + { + case 'a': + if (Name == "acos") + return ConstantFoldFP(acos, V, Ty); + else if (Name == "asin") + return ConstantFoldFP(asin, V, Ty); + else if (Name == "atan") + return ConstantFP::get(Ty, atan(V)); + break; + case 'c': + if (Name == "ceil") + return ConstantFoldFP(ceil, V, Ty); + else if (Name == "cos") + return ConstantFP::get(Ty, cos(V)); + else if (Name == "cosh") + return ConstantFP::get(Ty, cosh(V)); + break; + case 'e': + if (Name == "exp") + return ConstantFP::get(Ty, exp(V)); + break; + case 'f': + if (Name == "fabs") + return ConstantFP::get(Ty, fabs(V)); + else if (Name == "floor") + return ConstantFoldFP(floor, V, Ty); + break; + case 'l': + if (Name == "log" && V > 0) + return ConstantFP::get(Ty, log(V)); + else if (Name == "log10" && V > 0) + return ConstantFoldFP(log10, V, Ty); + else if (Name == "llvm.sqrt") { + if (V >= -0.0) + return ConstantFP::get(Ty, sqrt(V)); + else // Undefined + return ConstantFP::get(Ty, 0.0); + } + break; + case 's': + if (Name == "sin") + return ConstantFP::get(Ty, sin(V)); + else if (Name == "sinh") + return ConstantFP::get(Ty, sinh(V)); + else if (Name == "sqrt" && V >= 0)
[llvm-commits] CVS: llvm/include/llvm/Analysis/ConstantFolding.h
Changes in directory llvm/include/llvm/Analysis: ConstantFolding.h added (r1.1) --- Log message: Move some constant folding functions into LLVMAnalysis since they are used by Analysis and Transformation passes. --- Diffs of the changes: (+36 -0) ConstantFolding.h | 36 1 files changed, 36 insertions(+) Index: llvm/include/llvm/Analysis/ConstantFolding.h diff -c /dev/null llvm/include/llvm/Analysis/ConstantFolding.h:1.1 *** /dev/null Thu Oct 27 11:00:19 2005 --- llvm/include/llvm/Analysis/ConstantFolding.hThu Oct 27 11:00:09 2005 *** *** 0 --- 1,36 + //===-- ConstantFolding.h - Analyze constant folding possibilities ===// + // + // The LLVM Compiler Infrastructure + // + // This file was developed by the LLVM research group and is distributed under + // the University of Illinois Open Source License. See LICENSE.TXT for details. + // + //===--===// + // + // This family of functions determines the possibility of performing constant + // folding. + // + //===--===// + + #include "llvm/Constants.h" + #include "llvm/Function.h" + using namespace llvm; + + namespace llvm { + + /// canConstantFoldCallTo - Return true if its even possible to fold a call to + /// the specified function. + extern + bool canConstantFoldCallTo(Function *F); + + /// ConstantFoldFP - Given a function that evaluates the constant, return an + /// LLVM Constant that represents the evaluated constant + extern Constant * + ConstantFoldFP(double (*NativeFP)(double), double V, const Type *Ty); + + /// ConstantFoldCall - Attempt to constant fold a call to the specified function + /// with the specified arguments, returning null if unsuccessful. + extern Constant * + ConstantFoldCall(Function *F, const std::vector &Operands); + } + ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/Local.h
Changes in directory llvm/include/llvm/Transforms/Utils: Local.h updated: 1.21 -> 1.22 --- Log message: Move some constant folding functions into LLVMAnalysis since they are used by Analysis and Transformation passes. --- Diffs of the changes: (+1 -8) Local.h |9 + 1 files changed, 1 insertion(+), 8 deletions(-) Index: llvm/include/llvm/Transforms/Utils/Local.h diff -u llvm/include/llvm/Transforms/Utils/Local.h:1.21 llvm/include/llvm/Transforms/Utils/Local.h:1.22 --- llvm/include/llvm/Transforms/Utils/Local.h:1.21 Tue Sep 27 14:38:43 2005 +++ llvm/include/llvm/Transforms/Utils/Local.h Thu Oct 27 11:00:10 2005 @@ -16,6 +16,7 @@ #define LLVM_TRANSFORMS_UTILS_LOCAL_H #include "llvm/Function.h" +#include "llvm/Analysis/ConstantFolding.h" namespace llvm { @@ -48,14 +49,6 @@ Constant *ConstantFoldInstruction(Instruction *I); -/// canConstantFoldCallTo - Return true if its even possible to fold a call to -/// the specified function. -bool canConstantFoldCallTo(Function *F); - -/// ConstantFoldCall - Attempt to constant fold a call to the specified function -/// with the specified arguments, returning null if unsuccessful. -Constant *ConstantFoldCall(Function *F, const std::vector &Operands); - /// ConstantFoldLoadThroughGEPConstantExpr - Given a constant and a /// getelementptr constantexpr, return the constant value being addressed by the /// constant expression, or null if something is funny and we can't decide. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-www/releases/1.6/
Changes in directory llvm-www/releases/1.6: --- Log message: Directory /home/vadve/shared/PublicCVS/llvm-www/releases/1.6 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-www/releases/1.6/cfrontend-1.6.i686-redhat-linux-gnu.tar.gz cfrontend-1.6.powerpc-apple-darwin7.9.0.tar.gz cfrontend-1.6.source.tar.gz cfrontend-1.6.sparc-sun-solaris2.8.tar.
Changes in directory llvm-www/releases/1.6: cfrontend-1.6.i686-redhat-linux-gnu.tar.gz added (r1.1) cfrontend-1.6.powerpc-apple-darwin7.9.0.tar.gz added (r1.1) cfrontend-1.6.source.tar.gz added (r1.1) cfrontend-1.6.sparc-sun-solaris2.8.tar.gz added (r1.1) --- Log message: Initial versions of the LLVM GCC frontend. I really hope we don't change these. --- Diffs of the changes: (+0 -0) cfrontend-1.6.i686-redhat-linux-gnu.tar.gz |0 cfrontend-1.6.powerpc-apple-darwin7.9.0.tar.gz |0 cfrontend-1.6.source.tar.gz|0 cfrontend-1.6.sparc-sun-solaris2.8.tar.gz |0 4 files changed Index: llvm-www/releases/1.6/cfrontend-1.6.i686-redhat-linux-gnu.tar.gz Index: llvm-www/releases/1.6/cfrontend-1.6.powerpc-apple-darwin7.9.0.tar.gz Index: llvm-www/releases/1.6/cfrontend-1.6.source.tar.gz Index: llvm-www/releases/1.6/cfrontend-1.6.sparc-sun-solaris2.8.tar.gz ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-www/releases/1.6/LICENSE.TXT index.html
Changes in directory llvm-www/releases/1.6: LICENSE.TXT added (r1.1) index.html added (r1.1) --- Log message: Add the license file and index page for this release directory. --- Diffs of the changes: (+79 -0) LICENSE.TXT | 72 index.html |7 + 2 files changed, 79 insertions(+) Index: llvm-www/releases/1.6/LICENSE.TXT diff -c /dev/null llvm-www/releases/1.6/LICENSE.TXT:1.1 *** /dev/null Wed Nov 2 10:53:13 2005 --- llvm-www/releases/1.6/LICENSE.TXT Wed Nov 2 10:53:02 2005 *** *** 0 --- 1,72 + == + LLVM Release License + == + University of Illinois/NCSA + Open Source License + + Copyright (c) 2003, 2004, 2005 University of Illinois at Urbana-Champaign. + All rights reserved. + + Developed by: + + LLVM Team + + University of Illinois at Urbana-Champaign + + http://llvm.cs.uiuc.edu + + Permission is hereby granted, free of charge, to any person obtaining a copy of + this software and associated documentation files (the "Software"), to deal with + the Software without restriction, including without limitation the rights to + use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies + of the Software, and to permit persons to whom the Software is furnished to do + so, subject to the following conditions: + + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimers. + + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimers in the + documentation and/or other materials provided with the distribution. + + * Neither the names of the LLVM Team, University of Illinois at + Urbana-Champaign, nor the names of its contributors may be used to + endorse or promote products derived from this Software without specific + prior written permission. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE + SOFTWARE. + + == + Copyrights and Licenses for Third Party Software Distributed with LLVM: + == + The LLVM software contains code written by third parties. Such software will + have its own individual LICENSE.TXT file in the directory in which it appears. + This file will describe the copyrights, license, and restrictions which apply + to that code. + + The disclaimer of warranty in the University of Illinois Open Source License + applies to all code in the LLVM Distribution, and nothing in any of the + other licenses gives permission to use the names of the LLVM Team or the + University of Illinois to endorse or promote products derived from this + Software. + + The following pieces of software have additional or alternate copyrights, + licenses, and/or restrictions: + + Program Directory + --- - + System Library llvm/lib/System + Compiler Driver llvm/tools/llvmc + PowerPC Backend llvm/lib/Target/PowerPC + bzip2 llvm/lib/Support/bzip2/LICENSE + Autoconfllvm/autoconf + llvm/projects/ModuleMaker/autoconf + llvm/projects/sample/autoconf + Burgllvm/utils/Burg + GNU Libcllvm/runtime/GCCLibraries/libc Index: llvm-www/releases/1.6/index.html diff -c /dev/null llvm-www/releases/1.6/index.html:1.1 *** /dev/null Wed Nov 2 10:53:24 2005 --- llvm-www/releases/1.6/index.htmlWed Nov 2 10:53:02 2005 *** *** 0 --- 1,7 + + + + + + + ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm/test/Regression/CFrontend/2004-06-17-UnorderedCompares.c.tr 2005-02-20-AggregateSAVEEXPR.c
Changes in directory llvm/test/Regression/CFrontend: 2004-06-17-UnorderedCompares.c.tr updated: 1.4 -> 1.4.4.1 2005-02-20-AggregateSAVEEXPR.c updated: 1.2 -> 1.2.6.1 --- Log message: Mark these as failing on sparc instead of sparcv9. The configure script no longer tells us that we're configuring for SparcV9 specifically. 2004-06-17-UnorderedCompares may work on SparcV8, but it's experiental anyway. 2005-02-20-AggregateSAVEEXPR should fail on any Solaris machine, as Solaris doesn't provide complex number support. --- Diffs of the changes: (+2 -2) 2004-06-17-UnorderedCompares.c.tr |2 +- 2005-02-20-AggregateSAVEEXPR.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/test/Regression/CFrontend/2004-06-17-UnorderedCompares.c.tr diff -u llvm/test/Regression/CFrontend/2004-06-17-UnorderedCompares.c.tr:1.4 llvm/test/Regression/CFrontend/2004-06-17-UnorderedCompares.c.tr:1.4.4.1 --- llvm/test/Regression/CFrontend/2004-06-17-UnorderedCompares.c.tr:1.4 Mon Sep 12 20:03:53 2005 +++ llvm/test/Regression/CFrontend/2004-06-17-UnorderedCompares.c.trWed Nov 2 12:05:50 2005 @@ -1,5 +1,5 @@ // RUN: %llvmgcc -xc -std=c99 %s -c -o - | llvm-dis | grep -v llvm.isunordered | not grep call -// XFAIL: sparcv9|ia64 +// XFAIL: sparc|ia64 #include Index: llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c diff -u llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c:1.2 llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c:1.2.6.1 --- llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c:1.2 Fri Apr 1 17:16:23 2005 +++ llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c Wed Nov 2 12:05:50 2005 @@ -6,7 +6,7 @@ // We could modify the test to use only GCC extensions, but I don't know if // that would change the nature of the test. // -// XFAIL: sparcv9 +// XFAIL: sparc #include ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm/test/Regression/ExecutionEngine/parallel.ll
Changes in directory llvm/test/Regression/ExecutionEngine: parallel.ll updated: 1.1 -> 1.1.4.1 --- Log message: Don't use -q; this option is not available on Solaris grep (and probably other, traditional UNIX greps). --- Diffs of the changes: (+1 -1) parallel.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Regression/ExecutionEngine/parallel.ll diff -u llvm/test/Regression/ExecutionEngine/parallel.ll:1.1 llvm/test/Regression/ExecutionEngine/parallel.ll:1.1.4.1 --- llvm/test/Regression/ExecutionEngine/parallel.ll:1.1Tue Jul 12 19:35:12 2005 +++ llvm/test/Regression/ExecutionEngine/parallel.llWed Nov 2 12:06:28 2005 @@ -1,3 +1,3 @@ ; This isn't really an assembly file. This test runs the ParallelJIT example ; program and ensures its output is sane. -; RUN: ParallelJIT | grep -q "Fib2 returned 267914296" +; RUN: ParallelJIT | grep "Fib2 returned 267914296" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.58 -> 1.58.2.1 --- Log message: Merged in revision 1.60. --- Diffs of the changes: (+5 -5) DAGCombiner.cpp | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.58 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.58.2.1 --- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.58 Sun Oct 30 01:41:49 2005 +++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Wed Nov 2 13:38:00 2005 @@ -963,14 +963,14 @@ DAG.getConstant(N1C->getValue()&N01C->getValue(), VT)); } // fold (and (sign_extend_inreg x, i16 to i32), 1) -> (and x, 1) - if (N0.getOpcode() == ISD::SIGN_EXTEND_INREG) { + if (N1C && N0.getOpcode() == ISD::SIGN_EXTEND_INREG) { unsigned ExtendBits = MVT::getSizeInBits(cast(N0.getOperand(1))->getVT()); -if ((N1C->getValue() & (~0ULL << ExtendBits)) == 0) +if (ExtendBits == 64 || (N1C->getValue() & (~0ULL << ExtendBits) == 0)) return DAG.getNode(ISD::AND, VT, N0.getOperand(0), N1); } // fold (and (or x, 0x), 0xFF) -> 0xFF - if (N0.getOpcode() == ISD::OR && N1C) + if (N1C && N0.getOpcode() == ISD::OR) if (ConstantSDNode *ORI = dyn_cast(N0.getOperand(1))) if ((ORI->getValue() & N1C->getValue()) == N1C->getValue()) return N1; @@ -1031,7 +1031,7 @@ return DAG.getNode(N0.getOpcode(), VT, ANDNode, N0.getOperand(1)); } // fold (and (sra)) -> (and (srl)) when possible. - if (N0.getOpcode() == ISD::SRA && N0.Val->hasOneUse()) + if (N0.getOpcode() == ISD::SRA && N0.Val->hasOneUse()) { if (ConstantSDNode *N01C = dyn_cast(N0.getOperand(1))) { // If the RHS of the AND has zeros where the sign bits of the SRA will // land, turn the SRA into an SRL. @@ -1043,7 +1043,7 @@ return SDOperand(); } } - + } // fold (zext_inreg (extload x)) -> (zextload x) if (N0.getOpcode() == ISD::EXTLOAD) { MVT::ValueType EVT = cast(N0.getOperand(3))->getVT(); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm/autoconf/configure.ac
Changes in directory llvm/autoconf: configure.ac updated: 1.195 -> 1.195.4.1 --- Log message: Updated the version number. Get the UIUC copyright to actually print. --- Diffs of the changes: (+2 -2) configure.ac |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/autoconf/configure.ac diff -u llvm/autoconf/configure.ac:1.195 llvm/autoconf/configure.ac:1.195.4.1 --- llvm/autoconf/configure.ac:1.195Wed Aug 24 05:43:10 2005 +++ llvm/autoconf/configure.ac Thu Nov 3 09:25:04 2005 @@ -31,12 +31,12 @@ dnl===---=== dnl Initialize autoconf and define the package name, version number and dnl email address for reporting bugs. -AC_INIT([[llvm]],[[1.6cvs]],[EMAIL PROTECTED]) +AC_INIT([[llvm]],[[1.6]],[EMAIL PROTECTED]) dnl Provide a copyright substitution and ensure the copyright notice is included dnl in the output of --version option of the generated configure script. AC_SUBST(LLVM_COPYRIGHT,["Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign."]) -AC_COPYRIGHT($LLVM_COPYRIGHT) +AC_COPYRIGHT([Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign.]) dnl Indicate that we require autoconf 2.59 or later. Ths is needed because we dnl use some autoconf macros only available in 2.59. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm/configure
Changes in directory llvm: configure updated: 1.198 -> 1.198.4.1 --- Log message: Updated the version number. Get the UIUC copyright to actually print. --- Diffs of the changes: (+11 -11) configure | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) Index: llvm/configure diff -u llvm/configure:1.198 llvm/configure:1.198.4.1 --- llvm/configure:1.198Wed Aug 24 05:07:21 2005 +++ llvm/configure Thu Nov 3 09:24:58 2005 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for llvm 1.6cvs. +# Generated by GNU Autoconf 2.59 for llvm 1.6. # # Report bugs to <[EMAIL PROTECTED]>. # @@ -8,7 +8,7 @@ # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. # -# $LLVM_COPYRIGHT +# Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign. ## - ## ## M4sh Initialization. ## ## - ## @@ -425,8 +425,8 @@ # Identity of this package. PACKAGE_NAME='llvm' PACKAGE_TARNAME='-llvm-' -PACKAGE_VERSION='1.6cvs' -PACKAGE_STRING='llvm 1.6cvs' +PACKAGE_VERSION='1.6' +PACKAGE_STRING='llvm 1.6' PACKAGE_BUGREPORT='[EMAIL PROTECTED]' ac_unique_file="lib/VMCore/Module.cpp" @@ -964,7 +964,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures llvm 1.6cvs to adapt to many kinds of systems. +\`configure' configures llvm 1.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1026,7 +1026,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of llvm 1.6cvs:";; + short | recursive ) echo "Configuration of llvm 1.6:";; esac cat <<\_ACEOF @@ -1173,14 +1173,14 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -llvm configure 1.6cvs +llvm configure 1.6 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. -$LLVM_COPYRIGHT +Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign. _ACEOF exit 0 fi @@ -1189,7 +1189,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by llvm $as_me 1.6cvs, which was +It was created by llvm $as_me 1.6, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -31044,7 +31044,7 @@ } >&5 cat >&5 <<_CSEOF -This file was extended by llvm $as_me 1.6cvs, which was +This file was extended by llvm $as_me 1.6, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES= $CONFIG_FILES @@ -31107,7 +31107,7 @@ cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -llvm config.status 1.6cvs +llvm config.status 1.6 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/&/g'`\\" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm/tools/gccld/GenerateCode.cpp
Changes in directory llvm/tools/gccld: GenerateCode.cpp updated: 1.54 -> 1.54.4.1 --- Log message: Merge in hack from Chris that discards libg. --- Diffs of the changes: (+4 -1) GenerateCode.cpp |5 - 1 files changed, 4 insertions(+), 1 deletion(-) Index: llvm/tools/gccld/GenerateCode.cpp diff -u llvm/tools/gccld/GenerateCode.cpp:1.54 llvm/tools/gccld/GenerateCode.cpp:1.54.4.1 --- llvm/tools/gccld/GenerateCode.cpp:1.54 Tue Oct 18 01:29:43 2005 +++ llvm/tools/gccld/GenerateCode.cpp Thu Nov 3 09:42:27 2005 @@ -423,7 +423,10 @@ // Add in the libraries to link. for (unsigned index = 0; index < Libraries.size(); index++) -if (Libraries[index] != "crtend") { +// HACK: If this is libg, discard it. This gets added by the compiler +// driver when doing: 'llvm-gcc main.c -Wl,-native -o a.out -g'. Note that +// this should really be fixed by changing the llvm-gcc compiler driver. +if (Libraries[index] != "crtend" && Libraries[index] != "g") { std::string Tmp = "-l"+Libraries[index]; StringsToDelete.push_back(strdup(Tmp.c_str())); args.push_back(StringsToDelete.back()); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm/docs/GettingStarted.html
Changes in directory llvm/docs: GettingStarted.html updated: 1.120 -> 1.120.4.1 --- Log message: Include the CVS tag for the 1.6 release. --- Diffs of the changes: (+2 -1) GettingStarted.html |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/docs/GettingStarted.html diff -u llvm/docs/GettingStarted.html:1.120 llvm/docs/GettingStarted.html:1.120.4.1 --- llvm/docs/GettingStarted.html:1.120 Mon Sep 5 23:07:15 2005 +++ llvm/docs/GettingStarted.html Thu Nov 3 12:26:14 2005 @@ -661,6 +661,7 @@ labels: +Release 1.6: RELEASE_16 Release 1.5: RELEASE_15 Release 1.4: RELEASE_14 Release 1.3: RELEASE_13 @@ -1540,7 +1541,7 @@ mailto:[EMAIL PROTECTED]">Chris Lattner http://llvm.x10sys.com/rspencer/";>Reid Spencer http://llvm.cs.uiuc.edu";>The LLVM Compiler Infrastructure - Last modified: $Date: 2005/09/06 04:07:15 $ + Last modified: $Date: 2005/11/03 18:26:14 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm-gcc/gcc/llvm-types.c
Changes in directory llvm-gcc/gcc: llvm-types.c updated: 1.30 -> 1.30.2.1 --- Log message: Merged in revision 1.31. --- Diffs of the changes: (+39 -3) llvm-types.c | 42 +++--- 1 files changed, 39 insertions(+), 3 deletions(-) Index: llvm-gcc/gcc/llvm-types.c diff -u llvm-gcc/gcc/llvm-types.c:1.30 llvm-gcc/gcc/llvm-types.c:1.30.2.1 --- llvm-gcc/gcc/llvm-types.c:1.30 Sat Sep 24 15:55:31 2005 +++ llvm-gcc/gcc/llvm-types.c Fri Nov 4 09:45:05 2005 @@ -120,10 +120,11 @@ return PrimitiveAlignments[Ty->ID]; } case ArrayTyID: - //assert(Ty->x.Array.Alignment && "Array does not have alignment set!"); + /*assert(Ty->x.Array.Alignment && "Array does not have alignment set!");*/ return Ty->x.Array.Alignment ? Ty->x.Array.Alignment : 4; case StructTyID: - //assert(Ty->x.Struct.Alignment && "Struct does not have alignment set!"); + /*assert(Ty->x.Struct.Alignment && "Struct does not have alignment set!"); + */ return Ty->x.Struct.Alignment ? Ty->x.Struct.Alignment : 4; default: fprintf(stderr, "ERROR: Type doesn't have size: "); @@ -752,7 +753,12 @@ llvm_type *Ty = llvm_type_get_from_tree(TREE_TYPE(field)); /* Get the starting offset in the record... */ unsigned StartOffset = GetFieldOffset(field); /* In bits */ +#ifdef LLVM_TARGET_MAX_ALIGN_IS_POINTER_SIZE unsigned ByteAlignment = llvm_type_get_alignment(Ty); +#else + unsigned BitAlignment = GetFieldAlignmentInBits(field); + unsigned ByteAlignment = (BitAlignment+7)/8; +#endif if (!TypeIsRecursivelyIntegral(Ty)) { /* Not an integral field? */ unsigned OrigSize = *Size; @@ -767,6 +773,7 @@ * to ensure that the LLVM conception of where this element lands is the * same as what GCC thinks. */ +#ifdef LLVM_TARGET_MAX_ALIGN_IS_POINTER_SIZE if (*Size < StartOffset/8) { unsigned PadBytes = StartOffset/8 - OrigSize; if (PadBytes == 1) @@ -778,6 +785,17 @@ ++*Idx; *Size = OrigSize + PadBytes; } +#else +if (*Size < StartOffset/8) + /* Only fix things if it is because of this "magic padding" */ + if (*Size + ByteAlignment == StartOffset/8) { +ElementTys[*Idx] = UByteTy;/* Random pad element */ +ElementOffsets[*Idx] = *Size; +ElementAlignments[*Idx] = 1; +++*Idx; +*Size = StartOffset/8; + } +#endif #if 0 /* FIXME: This assertion should be kept!!! */ assert(*Size == StartOffset/8 && @@ -796,10 +814,16 @@ unsigned FieldCByteAlignment = (FieldCBitAlignment+7)/8; /* Is it attempting to align the current offset to some value? */ if (DeclSize == 0) { +#ifdef LLVM_TARGET_MAX_ALIGN_IS_POINTER_SIZE NumPads = FieldCByteAlignment - (*Size % FieldCByteAlignment); if (NumPads == FieldCByteAlignment) NumPads = 0; assert((*Size+NumPads) % FieldCByteAlignment == 0 && "Incorrect padding calc?"); +#else + NumPads = ByteAlignment - (*Size % ByteAlignment); + if (NumPads == ByteAlignment) NumPads = 0; + assert((*Size+NumPads) % ByteAlignment == 0 && "Incorrect padding calc?"); +#endif #if DEBUG_STRUCT_LAYOUT fprintf(stderr, "Anon field: align=%db pads = %d ", FieldCByteAlignment, NumPads); @@ -839,7 +863,8 @@ int HasSignedField; unsigned StartByte; -if (ElSizeInBits) ElSizeInBits = MAX(ElSizeInBits, FieldCBitAlignment); +if (ElSizeInBits) + ElSizeInBits = MAX(ElSizeInBits, FieldCBitAlignment); HasSignedField = !TREE_UNSIGNED(TREE_TYPE(field)); @@ -906,6 +931,7 @@ * to ensure that the LLVM conception of where this element lands is the * same as what GCC thinks. */ +#ifdef LLVM_TARGET_MAX_ALIGN_IS_POINTER_SIZE if (((*Size + ByteAlignment - 1) & ~(ByteAlignment-1)) < StartOffset/8) { unsigned PadBytes = StartOffset/8 - *Size; if (PadBytes == 1) @@ -917,6 +943,7 @@ ++*Idx; *Size = *Size + PadBytes; } +#endif /* Check to see if there is "magic padding" that got inserted into the * structure. This can happen, for example, when the C++ ABI declares that @@ -1472,6 +1499,7 @@ * elements so that the LLVM code will have the right size for the * structure. */ +#ifdef LLVM_TARGET_MAX_ALIGN_IS_POINTER_SIZE if (TYPE_SIZE(type) && TREE_CODE(TYPE_SIZE(type)) == INTEGER_CST) { unsigned GCCTypeSize = ((unsigned)TREE_INT_CST_LOW(TYPE_SIZE(type))+7)/8; unsigned LLVMTypeSize, LLVMStructAlign = 1, i; @@ -1506,6 +1534,14 @@ Size += PadBytes; } } +#else +/* Empty C++ structures == { ubyte } in LLVM so that sizes are correct. */ +if (Idx == 0 && (int)TREE_INT_CST_LOW(TYPE_SIZE(type)) == 8) { + StructElements[0] = UByteTy; + ElementOffsets[0] = 0; + ++Idx; +} +#endif /* End of the hack, set the real number of elements. */ R
[llvm-commits] CVS: llvm-www/releases/1.6/cfrontend-1.6.i686-redhat-linux-gnu.tar.gz cfrontend-1.6.powerpc-apple-darwin7.9.0.tar.gz cfrontend-1.6.sparc-sun-solaris2.8.tar.gz
Changes in directory llvm-www/releases/1.6: cfrontend-1.6.i686-redhat-linux-gnu.tar.gz updated: 1.1 -> 1.2 cfrontend-1.6.powerpc-apple-darwin7.9.0.tar.gz updated: 1.1 -> 1.2 cfrontend-1.6.sparc-sun-solaris2.8.tar.gz updated: 1.1 -> 1.2 --- Log message: Re-built with Chris's SPEC fixes. Remembered to run llvm-ranlib on the libraries. --- Diffs of the changes: (+0 -0) cfrontend-1.6.i686-redhat-linux-gnu.tar.gz |0 cfrontend-1.6.powerpc-apple-darwin7.9.0.tar.gz |0 cfrontend-1.6.sparc-sun-solaris2.8.tar.gz |0 3 files changed Index: llvm-www/releases/1.6/cfrontend-1.6.i686-redhat-linux-gnu.tar.gz Index: llvm-www/releases/1.6/cfrontend-1.6.powerpc-apple-darwin7.9.0.tar.gz Index: llvm-www/releases/1.6/cfrontend-1.6.sparc-sun-solaris2.8.tar.gz ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-www/releases/1.6/cfrontend-1.6.source.tar.gz
Changes in directory llvm-www/releases/1.6: cfrontend-1.6.source.tar.gz updated: 1.1 -> 1.2 --- Log message: Merged in a fix from Chris. --- Diffs of the changes: (+0 -0) cfrontend-1.6.source.tar.gz |0 1 files changed Index: llvm-www/releases/1.6/cfrontend-1.6.source.tar.gz ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm-test/MultiSource/Applications/Makefile
Changes in directory llvm-test/MultiSource/Applications: Makefile updated: 1.21 -> 1.21.2.1 --- Log message: The hexxagon test does not work on Solaris as it lacks stdint.h. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm-test/MultiSource/Applications/Makefile diff -u llvm-test/MultiSource/Applications/Makefile:1.21 llvm-test/MultiSource/Applications/Makefile:1.21.2.1 --- llvm-test/MultiSource/Applications/Makefile:1.21Fri Aug 5 01:20:48 2005 +++ llvm-test/MultiSource/Applications/Makefile Mon Nov 7 14:48:54 2005 @@ -18,6 +18,7 @@ ifeq ($(OS),SunOS) PARALLEL_DIRS := $(filter-out SPASS, $(PARALLEL_DIRS)) +PARALLEL_DIRS := $(filter-out hexxagon, $(PARALLEL_DIRS)) endif include $(LEVEL)/Makefile.programs ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm/docs/ReleaseNotes.html
Changes in directory llvm/docs: ReleaseNotes.html updated: 1.340 -> 1.340.2.1 --- Log message: Add a note about the Solaris configure problem that Tanya's seen. --- Diffs of the changes: (+14 -1) ReleaseNotes.html | 15 ++- 1 files changed, 14 insertions(+), 1 deletion(-) Index: llvm/docs/ReleaseNotes.html diff -u llvm/docs/ReleaseNotes.html:1.340 llvm/docs/ReleaseNotes.html:1.340.2.1 --- llvm/docs/ReleaseNotes.html:1.340 Mon Oct 31 13:07:29 2005 +++ llvm/docs/ReleaseNotes.html Tue Nov 8 09:38:11 2005 @@ -318,6 +318,19 @@ + Known problems with the Build System + + + + + + The http://llvm.org/PR656";>configure script sometimes fails on Solaris/Sparc. + + + + + + Known problems with the LLVM Core @@ -715,7 +728,7 @@ src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!" /> http://llvm.org/";>The LLVM Compiler Infrastructure - Last modified: $Date: 2005/10/31 19:07:29 $ + Last modified: $Date: 2005/11/08 15:38:11 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm/docs/ReleaseNotes.html
Changes in directory llvm/docs: ReleaseNotes.html updated: 1.340.2.1 -> 1.340.2.2 --- Log message: Note that a work-around is available. --- Diffs of the changes: (+2 -2) ReleaseNotes.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/ReleaseNotes.html diff -u llvm/docs/ReleaseNotes.html:1.340.2.1 llvm/docs/ReleaseNotes.html:1.340.2.2 --- llvm/docs/ReleaseNotes.html:1.340.2.1 Tue Nov 8 09:38:11 2005 +++ llvm/docs/ReleaseNotes.html Tue Nov 8 09:40:22 2005 @@ -324,7 +324,7 @@ - The http://llvm.org/PR656";>configure script sometimes fails on Solaris/Sparc. + The http://llvm.org/PR656";>configure script sometimes fails on Solaris/Sparc. A work around is documented in http://llvm.org/PR656";>PR656. @@ -728,7 +728,7 @@ src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!" /> http://llvm.org/";>The LLVM Compiler Infrastructure - Last modified: $Date: 2005/11/08 15:38:11 $ + Last modified: $Date: 2005/11/08 15:40:22 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm-test/configure
Changes in directory llvm-test: configure updated: 1.28 -> 1.28.2.1 --- Log message: Updated the version number. --- Diffs of the changes: (+9 -9) configure | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) Index: llvm-test/configure diff -u llvm-test/configure:1.28 llvm-test/configure:1.28.2.1 --- llvm-test/configure:1.28Mon Aug 8 16:26:07 2005 +++ llvm-test/configure Tue Nov 8 09:47:25 2005 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for LLVM-TEST 1.6cvs. +# Generated by GNU Autoconf 2.59 for LLVM-TEST 1.6. # # Report bugs to <[EMAIL PROTECTED]>. # @@ -423,8 +423,8 @@ # Identity of this package. PACKAGE_NAME='LLVM-TEST' PACKAGE_TARNAME='-llvm-test-' -PACKAGE_VERSION='1.6cvs' -PACKAGE_STRING='LLVM-TEST 1.6cvs' +PACKAGE_VERSION='1.6' +PACKAGE_STRING='LLVM-TEST 1.6' PACKAGE_BUGREPORT='[EMAIL PROTECTED]' ac_unique_file="SingleSource/Benchmarks/Makefile" @@ -954,7 +954,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures LLVM-TEST 1.6cvs to adapt to many kinds of systems. +\`configure' configures LLVM-TEST 1.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1015,7 +1015,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of LLVM-TEST 1.6cvs:";; + short | recursive ) echo "Configuration of LLVM-TEST 1.6:";; esac cat <<\_ACEOF @@ -1173,7 +1173,7 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -LLVM-TEST configure 1.6cvs +LLVM-TEST configure 1.6 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1187,7 +1187,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by LLVM-TEST $as_me 1.6cvs, which was +It was created by LLVM-TEST $as_me 1.6, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -20438,7 +20438,7 @@ } >&5 cat >&5 <<_CSEOF -This file was extended by LLVM-TEST $as_me 1.6cvs, which was +This file was extended by LLVM-TEST $as_me 1.6, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES= $CONFIG_FILES @@ -20496,7 +20496,7 @@ cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -LLVM-TEST config.status 1.6cvs +LLVM-TEST config.status 1.6 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/&/g'`\\" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_16] CVS: llvm-test/autoconf/configure.ac
Changes in directory llvm-test/autoconf: configure.ac updated: 1.27 -> 1.27.2.1 --- Log message: Updated the version number. --- Diffs of the changes: (+1 -1) configure.ac |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/autoconf/configure.ac diff -u llvm-test/autoconf/configure.ac:1.27 llvm-test/autoconf/configure.ac:1.27.2.1 --- llvm-test/autoconf/configure.ac:1.27Mon Aug 8 16:26:12 2005 +++ llvm-test/autoconf/configure.ac Tue Nov 8 09:47:27 2005 @@ -1,5 +1,5 @@ dnl Initialize autoconf -AC_INIT([[LLVM-TEST]],[[1.6cvs]],[EMAIL PROTECTED]) +AC_INIT([[LLVM-TEST]],[[1.6]],[EMAIL PROTECTED]) dnl Place all of the extra autoconf files into the config subdirectory AC_CONFIG_AUX_DIR([autoconf]) ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-www/releases/1.6/llvm-1.6.tar.gz llvm-test-1.6.tar.gz
Changes in directory llvm-www/releases/1.6: llvm-1.6.tar.gz added (r1.1) llvm-test-1.6.tar.gz added (r1.1) --- Log message: Welcome to the world, LLVM 1.6. --- Diffs of the changes: (+0 -0) llvm-1.6.tar.gz |0 llvm-test-1.6.tar.gz |0 2 files changed Index: llvm-www/releases/1.6/llvm-1.6.tar.gz Index: llvm-www/releases/1.6/llvm-test-1.6.tar.gz ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-www/releases/index.html download.html
Changes in directory llvm-www/releases: index.html updated: 1.24 -> 1.25 download.html updated: 1.23 -> 1.24 --- Log message: Add LLVM 1.6. --- Diffs of the changes: (+34 -1) download.html | 29 + index.html|6 +- 2 files changed, 34 insertions(+), 1 deletion(-) Index: llvm-www/releases/index.html diff -u llvm-www/releases/index.html:1.24 llvm-www/releases/index.html:1.25 --- llvm-www/releases/index.html:1.24 Wed May 18 14:24:23 2005 +++ llvm-www/releases/index.htmlTue Nov 8 14:11:31 2005 @@ -28,7 +28,7 @@ -LLVM is distributed under the University of +LLVM is distributed under the University of Illinois Open Source License, an http://www.opensource.org/licenses/UoI-NCSA.php";>OSI-approved license. @@ -43,6 +43,9 @@ Always - Anonymous CVS access; release notes. +08 Nov 2005 - 1.6 release download; release notes. + 18 May 2005 - 1.5 release download; release notes. @@ -73,6 +76,7 @@ http://llvm.cs.uiuc.edu/docs/";>Current LLVM documentation +Documentation for LLVM 1.6 Documentation for LLVM 1.5 Documentation for LLVM 1.4 Documentation for LLVM 1.3 Index: llvm-www/releases/download.html diff -u llvm-www/releases/download.html:1.23 llvm-www/releases/download.html:1.24 --- llvm-www/releases/download.html:1.23Sat Jul 16 00:45:15 2005 +++ llvm-www/releases/download.html Tue Nov 8 14:11:31 2005 @@ -37,6 +37,35 @@ +Download LLVM 1.6 + + + + +Please read the Release Notes before +downloading: + + + LLVM source code (4.1M) + + LLVM Test Suite (9.6M) + + GCC Front End + Binaries for Linux/x86 (6.2M) + + GCC Front End + Binaries for Solaris/Sparc (6.7M) + + GCC Front End + Binaries for MacOS X/PowerPC (6.4M) + + GCC Front End Source Code + (28.9M) + + + + + Download LLVM 1.5 ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-www/www-index.html
Changes in directory llvm-www: www-index.html updated: 1.123 -> 1.124 --- Log message: Bless LLVM 1.6. --- Diffs of the changes: (+2 -2) www-index.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-www/www-index.html diff -u llvm-www/www-index.html:1.123 llvm-www/www-index.html:1.124 --- llvm-www/www-index.html:1.123 Sat Jul 16 00:43:39 2005 +++ llvm-www/www-index.html Tue Nov 8 14:30:03 2005 @@ -102,9 +102,9 @@ Latest LLVM Release! - May 18, 2005: LLVM 1.5 is now available + Nov 08, 2005: LLVM 1.6 is now available for download! LLVM is publicly available under an open source License. Also, you might want to + href="releases/1.6/LICENSE.TXT">License. Also, you might want to check out the new features in CVS that will appear in the next LLVM release. If you want them early, download LLVM through ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-gcc/gcc/version.c
Changes in directory llvm-gcc/gcc: version.c updated: 1.3 -> 1.4 --- Log message: Updated version for LLVM 1.7. --- Diffs of the changes: (+1 -1) version.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-gcc/gcc/version.c diff -u llvm-gcc/gcc/version.c:1.3 llvm-gcc/gcc/version.c:1.4 --- llvm-gcc/gcc/version.c:1.3 Thu Feb 5 10:05:45 2004 +++ llvm-gcc/gcc/version.c Tue Nov 8 15:00:31 2005 @@ -5,7 +5,7 @@ please modify this string to indicate that, e.g. by putting your organization's name in parentheses at the end of the string. */ -const char version_string[] = "3.4-llvm 20030924 (experimental)"; +const char version_string[] = "3.4-llvm 20051104 (LLVM 1.7cvs)"; /* This is the location of the online document giving instructions for reporting bugs. If you distribute a modified version of GCC, ___ 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.196 -> 1.197 --- Log message: Merged from RELEASE_16. --- Diffs of the changes: (+2 -2) configure.ac |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/autoconf/configure.ac diff -u llvm/autoconf/configure.ac:1.196 llvm/autoconf/configure.ac:1.197 --- llvm/autoconf/configure.ac:1.196Tue Nov 1 14:58:08 2005 +++ llvm/autoconf/configure.ac Tue Nov 8 15:11:31 2005 @@ -31,12 +31,12 @@ dnl===---=== dnl Initialize autoconf and define the package name, version number and dnl email address for reporting bugs. -AC_INIT([[llvm]],[[1.6cvs]],[EMAIL PROTECTED]) +AC_INIT([[llvm]],[[1.6]],[EMAIL PROTECTED]) dnl Provide a copyright substitution and ensure the copyright notice is included dnl in the output of --version option of the generated configure script. AC_SUBST(LLVM_COPYRIGHT,["Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign."]) -AC_COPYRIGHT($LLVM_COPYRIGHT) +AC_COPYRIGHT([Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign.]) dnl Indicate that we require autoconf 2.59 or later. Ths is needed because we dnl use some autoconf macros only available in 2.59. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Regression/CFrontend/2004-06-17-UnorderedCompares.c.tr 2005-02-20-AggregateSAVEEXPR.c
Changes in directory llvm/test/Regression/CFrontend: 2004-06-17-UnorderedCompares.c.tr updated: 1.4 -> 1.5 2005-02-20-AggregateSAVEEXPR.c updated: 1.2 -> 1.3 --- Log message: Merged from RELEASE_16. --- Diffs of the changes: (+2 -2) 2004-06-17-UnorderedCompares.c.tr |2 +- 2005-02-20-AggregateSAVEEXPR.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/test/Regression/CFrontend/2004-06-17-UnorderedCompares.c.tr diff -u llvm/test/Regression/CFrontend/2004-06-17-UnorderedCompares.c.tr:1.4 llvm/test/Regression/CFrontend/2004-06-17-UnorderedCompares.c.tr:1.5 --- llvm/test/Regression/CFrontend/2004-06-17-UnorderedCompares.c.tr:1.4 Mon Sep 12 20:03:53 2005 +++ llvm/test/Regression/CFrontend/2004-06-17-UnorderedCompares.c.trTue Nov 8 15:11:32 2005 @@ -1,5 +1,5 @@ // RUN: %llvmgcc -xc -std=c99 %s -c -o - | llvm-dis | grep -v llvm.isunordered | not grep call -// XFAIL: sparcv9|ia64 +// XFAIL: sparc|ia64 #include Index: llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c diff -u llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c:1.2 llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c:1.3 --- llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c:1.2 Fri Apr 1 17:16:23 2005 +++ llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c Tue Nov 8 15:11:32 2005 @@ -6,7 +6,7 @@ // We could modify the test to use only GCC extensions, but I don't know if // that would change the nature of the test. // -// XFAIL: sparcv9 +// XFAIL: sparc #include ___ 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.199 -> 1.200 --- Log message: Merged from RELEASE_16. --- Diffs of the changes: (+11 -11) configure | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) Index: llvm/configure diff -u llvm/configure:1.199 llvm/configure:1.200 --- llvm/configure:1.199Tue Nov 1 15:00:49 2005 +++ llvm/configure Tue Nov 8 15:11:28 2005 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for llvm 1.6cvs. +# Generated by GNU Autoconf 2.59 for llvm 1.6. # # Report bugs to <[EMAIL PROTECTED]>. # @@ -8,7 +8,7 @@ # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. # -# $LLVM_COPYRIGHT +# Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign. ## - ## ## M4sh Initialization. ## ## - ## @@ -425,8 +425,8 @@ # Identity of this package. PACKAGE_NAME='llvm' PACKAGE_TARNAME='-llvm-' -PACKAGE_VERSION='1.6cvs' -PACKAGE_STRING='llvm 1.6cvs' +PACKAGE_VERSION='1.6' +PACKAGE_STRING='llvm 1.6' PACKAGE_BUGREPORT='[EMAIL PROTECTED]' ac_unique_file="lib/VMCore/Module.cpp" @@ -964,7 +964,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures llvm 1.6cvs to adapt to many kinds of systems. +\`configure' configures llvm 1.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1026,7 +1026,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of llvm 1.6cvs:";; + short | recursive ) echo "Configuration of llvm 1.6:";; esac cat <<\_ACEOF @@ -1173,14 +1173,14 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -llvm configure 1.6cvs +llvm configure 1.6 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. -$LLVM_COPYRIGHT +Copyright (c) 2003-2005 University of Illinois at Urbana-Champaign. _ACEOF exit 0 fi @@ -1189,7 +1189,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by llvm $as_me 1.6cvs, which was +It was created by llvm $as_me 1.6, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -31044,7 +31044,7 @@ } >&5 cat >&5 <<_CSEOF -This file was extended by llvm $as_me 1.6cvs, which was +This file was extended by llvm $as_me 1.6, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES= $CONFIG_FILES @@ -31107,7 +31107,7 @@ cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -llvm config.status 1.6cvs +llvm config.status 1.6 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/&/g'`\\" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/MultiSource/Applications/Makefile
Changes in directory llvm-test/MultiSource/Applications: Makefile updated: 1.21 -> 1.22 --- Log message: Merged from RELEASE_16. --- Diffs of the changes: (+1 -0) Makefile |1 + 1 files changed, 1 insertion(+) Index: llvm-test/MultiSource/Applications/Makefile diff -u llvm-test/MultiSource/Applications/Makefile:1.21 llvm-test/MultiSource/Applications/Makefile:1.22 --- llvm-test/MultiSource/Applications/Makefile:1.21Fri Aug 5 01:20:48 2005 +++ llvm-test/MultiSource/Applications/Makefile Tue Nov 8 15:11:32 2005 @@ -18,6 +18,7 @@ ifeq ($(OS),SunOS) PARALLEL_DIRS := $(filter-out SPASS, $(PARALLEL_DIRS)) +PARALLEL_DIRS := $(filter-out hexxagon, $(PARALLEL_DIRS)) endif include $(LEVEL)/Makefile.programs ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Regression/ExecutionEngine/parallel.ll
Changes in directory llvm/test/Regression/ExecutionEngine: parallel.ll updated: 1.1 -> 1.2 --- Log message: Merged from RELEASE_16. --- Diffs of the changes: (+1 -1) parallel.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/Regression/ExecutionEngine/parallel.ll diff -u llvm/test/Regression/ExecutionEngine/parallel.ll:1.1 llvm/test/Regression/ExecutionEngine/parallel.ll:1.2 --- llvm/test/Regression/ExecutionEngine/parallel.ll:1.1Tue Jul 12 19:35:12 2005 +++ llvm/test/Regression/ExecutionEngine/parallel.llTue Nov 8 15:11:33 2005 @@ -1,3 +1,3 @@ ; This isn't really an assembly file. This test runs the ParallelJIT example ; program and ensures its output is sane. -; RUN: ParallelJIT | grep -q "Fib2 returned 267914296" +; RUN: ParallelJIT | grep "Fib2 returned 267914296" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/configure
Changes in directory llvm-test: configure updated: 1.28 -> 1.29 --- Log message: Merged from RELEASE_16. --- Diffs of the changes: (+9 -9) configure | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) Index: llvm-test/configure diff -u llvm-test/configure:1.28 llvm-test/configure:1.29 --- llvm-test/configure:1.28Mon Aug 8 16:26:07 2005 +++ llvm-test/configure Tue Nov 8 15:11:32 2005 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for LLVM-TEST 1.6cvs. +# Generated by GNU Autoconf 2.59 for LLVM-TEST 1.6. # # Report bugs to <[EMAIL PROTECTED]>. # @@ -423,8 +423,8 @@ # Identity of this package. PACKAGE_NAME='LLVM-TEST' PACKAGE_TARNAME='-llvm-test-' -PACKAGE_VERSION='1.6cvs' -PACKAGE_STRING='LLVM-TEST 1.6cvs' +PACKAGE_VERSION='1.6' +PACKAGE_STRING='LLVM-TEST 1.6' PACKAGE_BUGREPORT='[EMAIL PROTECTED]' ac_unique_file="SingleSource/Benchmarks/Makefile" @@ -954,7 +954,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures LLVM-TEST 1.6cvs to adapt to many kinds of systems. +\`configure' configures LLVM-TEST 1.6 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1015,7 +1015,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of LLVM-TEST 1.6cvs:";; + short | recursive ) echo "Configuration of LLVM-TEST 1.6:";; esac cat <<\_ACEOF @@ -1173,7 +1173,7 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -LLVM-TEST configure 1.6cvs +LLVM-TEST configure 1.6 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1187,7 +1187,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by LLVM-TEST $as_me 1.6cvs, which was +It was created by LLVM-TEST $as_me 1.6, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -20438,7 +20438,7 @@ } >&5 cat >&5 <<_CSEOF -This file was extended by LLVM-TEST $as_me 1.6cvs, which was +This file was extended by LLVM-TEST $as_me 1.6, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES= $CONFIG_FILES @@ -20496,7 +20496,7 @@ cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -LLVM-TEST config.status 1.6cvs +LLVM-TEST config.status 1.6 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/&/g'`\\" ___ 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.200 -> 1.201 --- Log message: Updated version to 1.7cvs. --- Diffs of the changes: (+9 -9) configure | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) Index: llvm/configure diff -u llvm/configure:1.200 llvm/configure:1.201 --- llvm/configure:1.200Tue Nov 8 15:11:28 2005 +++ llvm/configure Tue Nov 8 15:12:58 2005 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for llvm 1.6. +# Generated by GNU Autoconf 2.59 for llvm 1.7cvs. # # Report bugs to <[EMAIL PROTECTED]>. # @@ -425,8 +425,8 @@ # Identity of this package. PACKAGE_NAME='llvm' PACKAGE_TARNAME='-llvm-' -PACKAGE_VERSION='1.6' -PACKAGE_STRING='llvm 1.6' +PACKAGE_VERSION='1.7cvs' +PACKAGE_STRING='llvm 1.7cvs' PACKAGE_BUGREPORT='[EMAIL PROTECTED]' ac_unique_file="lib/VMCore/Module.cpp" @@ -964,7 +964,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures llvm 1.6 to adapt to many kinds of systems. +\`configure' configures llvm 1.7cvs to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1026,7 +1026,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of llvm 1.6:";; + short | recursive ) echo "Configuration of llvm 1.7cvs:";; esac cat <<\_ACEOF @@ -1173,7 +1173,7 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -llvm configure 1.6 +llvm configure 1.7cvs generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1189,7 +1189,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by llvm $as_me 1.6, which was +It was created by llvm $as_me 1.7cvs, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -31044,7 +31044,7 @@ } >&5 cat >&5 <<_CSEOF -This file was extended by llvm $as_me 1.6, which was +This file was extended by llvm $as_me 1.7cvs, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES= $CONFIG_FILES @@ -31107,7 +31107,7 @@ cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -llvm config.status 1.6 +llvm config.status 1.7cvs configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/&/g'`\\" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/docs/GettingStarted.html ReleaseNotes.html
Changes in directory llvm/docs: GettingStarted.html updated: 1.122 -> 1.123 ReleaseNotes.html updated: 1.341 -> 1.342 --- Log message: Merged from RELEASE_16. --- Diffs of the changes: (+16 -2) GettingStarted.html |3 ++- ReleaseNotes.html | 15 ++- 2 files changed, 16 insertions(+), 2 deletions(-) Index: llvm/docs/GettingStarted.html diff -u llvm/docs/GettingStarted.html:1.122 llvm/docs/GettingStarted.html:1.123 --- llvm/docs/GettingStarted.html:1.122 Thu Nov 3 12:32:06 2005 +++ llvm/docs/GettingStarted.html Tue Nov 8 15:11:31 2005 @@ -661,6 +661,7 @@ labels: +Release 1.6: RELEASE_16 Release 1.5: RELEASE_15 Release 1.4: RELEASE_14 Release 1.3: RELEASE_13 @@ -1540,7 +1541,7 @@ mailto:[EMAIL PROTECTED]">Chris Lattner http://llvm.x10sys.com/rspencer/";>Reid Spencer http://llvm.cs.uiuc.edu";>The LLVM Compiler Infrastructure - Last modified: $Date: 2005/11/03 18:32:06 $ + Last modified: $Date: 2005/11/08 21:11:31 $ Index: llvm/docs/ReleaseNotes.html diff -u llvm/docs/ReleaseNotes.html:1.341 llvm/docs/ReleaseNotes.html:1.342 --- llvm/docs/ReleaseNotes.html:1.341 Thu Nov 3 16:33:48 2005 +++ llvm/docs/ReleaseNotes.html Tue Nov 8 15:11:31 2005 @@ -318,6 +318,19 @@ + Known problems with the Build System + + + + + + The http://llvm.org/PR656";>configure script sometimes fails on Solaris/Sparc. A work around is documented in http://llvm.org/PR656";>PR656. + + + + + + Known problems with the LLVM Core @@ -715,7 +728,7 @@ src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!" /> http://llvm.org/";>The LLVM Compiler Infrastructure - Last modified: $Date: 2005/11/03 22:33:48 $ + Last modified: $Date: 2005/11/08 21:11:31 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/autoconf/configure.ac
Changes in directory llvm-test/autoconf: configure.ac updated: 1.27 -> 1.28 --- Log message: Merged from RELEASE_16. --- Diffs of the changes: (+1 -1) configure.ac |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/autoconf/configure.ac diff -u llvm-test/autoconf/configure.ac:1.27 llvm-test/autoconf/configure.ac:1.28 --- llvm-test/autoconf/configure.ac:1.27Mon Aug 8 16:26:12 2005 +++ llvm-test/autoconf/configure.ac Tue Nov 8 15:11:32 2005 @@ -1,5 +1,5 @@ dnl Initialize autoconf -AC_INIT([[LLVM-TEST]],[[1.6cvs]],[EMAIL PROTECTED]) +AC_INIT([[LLVM-TEST]],[[1.6]],[EMAIL PROTECTED]) dnl Place all of the extra autoconf files into the config subdirectory AC_CONFIG_AUX_DIR([autoconf]) ___ 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.197 -> 1.198 --- Log message: Updated version to 1.7cvs. --- 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.197 llvm/autoconf/configure.ac:1.198 --- llvm/autoconf/configure.ac:1.197Tue Nov 8 15:11:31 2005 +++ llvm/autoconf/configure.ac Tue Nov 8 15:13:01 2005 @@ -31,7 +31,7 @@ dnl===---=== dnl Initialize autoconf and define the package name, version number and dnl email address for reporting bugs. -AC_INIT([[llvm]],[[1.6]],[EMAIL PROTECTED]) +AC_INIT([[llvm]],[[1.7cvs]],[EMAIL PROTECTED]) dnl Provide a copyright substitution and ensure the copyright notice is included dnl in the output of --version option of the generated configure script. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/configure
Changes in directory llvm-test: configure updated: 1.29 -> 1.30 --- Log message: Updated to version 1.7cvs. --- Diffs of the changes: (+9 -9) configure | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) Index: llvm-test/configure diff -u llvm-test/configure:1.29 llvm-test/configure:1.30 --- llvm-test/configure:1.29Tue Nov 8 15:11:32 2005 +++ llvm-test/configure Tue Nov 8 15:13:45 2005 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for LLVM-TEST 1.6. +# Generated by GNU Autoconf 2.59 for LLVM-TEST 1.7cvs. # # Report bugs to <[EMAIL PROTECTED]>. # @@ -423,8 +423,8 @@ # Identity of this package. PACKAGE_NAME='LLVM-TEST' PACKAGE_TARNAME='-llvm-test-' -PACKAGE_VERSION='1.6' -PACKAGE_STRING='LLVM-TEST 1.6' +PACKAGE_VERSION='1.7cvs' +PACKAGE_STRING='LLVM-TEST 1.7cvs' PACKAGE_BUGREPORT='[EMAIL PROTECTED]' ac_unique_file="SingleSource/Benchmarks/Makefile" @@ -954,7 +954,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures LLVM-TEST 1.6 to adapt to many kinds of systems. +\`configure' configures LLVM-TEST 1.7cvs to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1015,7 +1015,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of LLVM-TEST 1.6:";; + short | recursive ) echo "Configuration of LLVM-TEST 1.7cvs:";; esac cat <<\_ACEOF @@ -1173,7 +1173,7 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -LLVM-TEST configure 1.6 +LLVM-TEST configure 1.7cvs generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1187,7 +1187,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by LLVM-TEST $as_me 1.6, which was +It was created by LLVM-TEST $as_me 1.7cvs, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -20438,7 +20438,7 @@ } >&5 cat >&5 <<_CSEOF -This file was extended by LLVM-TEST $as_me 1.6, which was +This file was extended by LLVM-TEST $as_me 1.7cvs, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES= $CONFIG_FILES @@ -20496,7 +20496,7 @@ cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -LLVM-TEST config.status 1.6 +LLVM-TEST config.status 1.7cvs configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/&/g'`\\" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/autoconf/configure.ac
Changes in directory llvm-test/autoconf: configure.ac updated: 1.28 -> 1.29 --- Log message: Updated to version 1.7cvs. --- Diffs of the changes: (+1 -1) configure.ac |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/autoconf/configure.ac diff -u llvm-test/autoconf/configure.ac:1.28 llvm-test/autoconf/configure.ac:1.29 --- llvm-test/autoconf/configure.ac:1.28Tue Nov 8 15:11:32 2005 +++ llvm-test/autoconf/configure.ac Tue Nov 8 15:13:47 2005 @@ -1,5 +1,5 @@ dnl Initialize autoconf -AC_INIT([[LLVM-TEST]],[[1.6]],[EMAIL PROTECTED]) +AC_INIT([[LLVM-TEST]],[[1.7cvs]],[EMAIL PROTECTED]) dnl Place all of the extra autoconf files into the config subdirectory AC_CONFIG_AUX_DIR([autoconf]) ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/runtime/GCCLibraries/libc/remove.c
Changes in directory llvm/runtime/GCCLibraries/libc: remove.c added (r1.1) --- Log message: Add the remove() function from the C library. --- Diffs of the changes: (+46 -0) remove.c | 46 ++ 1 files changed, 46 insertions(+) Index: llvm/runtime/GCCLibraries/libc/remove.c diff -c /dev/null llvm/runtime/GCCLibraries/libc/remove.c:1.1 *** /dev/null Mon Nov 28 09:49:26 2005 --- llvm/runtime/GCCLibraries/libc/remove.c Mon Nov 28 09:49:15 2005 *** *** 0 --- 1,46 + //===-- remove.c - The remove function for the LLVM libc Library --*- C -*-===// + // + // A lot of this code is ripped gratuitously from glibc and libiberty. + // + //===--===// + + /* ANSI C `remove' function to delete a file or directory. POSIX.1 version. +Copyright (C) 1995,96,97,2002 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with the GNU C Library; if not, write to the Free +Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. */ + + #include + #include + #include + + int + remove (const char * file) + { + int save; + + save = errno; + if (rmdir (file) == 0) + return 0; + else if (errno == ENOTDIR && unlink (file) == 0) + { + errno = (save); + return 0; + } + + return -1; + } + ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/docs/WritingAnLLVMPass.html
Changes in directory llvm/docs: WritingAnLLVMPass.html updated: 1.41 -> 1.42 --- Log message: Fixed a punctuation error. --- Diffs of the changes: (+2 -2) WritingAnLLVMPass.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/WritingAnLLVMPass.html diff -u llvm/docs/WritingAnLLVMPass.html:1.41 llvm/docs/WritingAnLLVMPass.html:1.42 --- llvm/docs/WritingAnLLVMPass.html:1.41 Fri Jul 15 14:25:12 2005 +++ llvm/docs/WritingAnLLVMPass.htmlMon Nov 28 17:25:41 2005 @@ -1217,7 +1217,7 @@ The http://llvm.cs.uiuc.edu/doxygen/Statistic_8h-source.html";>Statistic -class, is designed to be an easy way to expose various success +class is designed to be an easy way to expose various success metrics from passes. These statistics are printed at the end of a run, when the -stats command line option is enabled on the command line. See the http://llvm.org/docs/ProgrammersManual.html#Statistic";>Statistics section in the Programmer's Manual for details. @@ -1593,7 +1593,7 @@ mailto:[EMAIL PROTECTED]">Chris Lattner http://llvm.cs.uiuc.edu";>The LLVM Compiler Infrastructure - Last modified: $Date: 2005/07/15 19:25:12 $ + Last modified: $Date: 2005/11/28 23:25:41 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/Local.cpp
Changes in directory llvm/lib/Analysis/DataStructure: Local.cpp updated: 1.135 -> 1.136 --- Log message: Added a command line option that allows the user to specify a list of functions that allocate memory. --- Diffs of the changes: (+19 -0) Local.cpp | 19 +++ 1 files changed, 19 insertions(+) Index: llvm/lib/Analysis/DataStructure/Local.cpp diff -u llvm/lib/Analysis/DataStructure/Local.cpp:1.135 llvm/lib/Analysis/DataStructure/Local.cpp:1.136 --- llvm/lib/Analysis/DataStructure/Local.cpp:1.135 Tue Dec 6 12:04:30 2005 +++ llvm/lib/Analysis/DataStructure/Local.cpp Mon Dec 19 11:38:39 2005 @@ -39,6 +39,12 @@ TrackIntegersAsPointers("dsa-track-integers", cl::Hidden, cl::desc("If this is set, track integers as potential pointers")); +static cl::list +AllocList("alloc-list", + cl::value_desc("list"), + cl::desc("List of functions that allocate memory from the heap"), + cl::CommaSeparated); + namespace llvm { namespace DS { // isPointerType - Return true if this type is big enough to hold a pointer. @@ -548,6 +554,19 @@ N->setModifiedMarker(); return; default: +// Determine if the called function is one of the specified heap +// allocation functions +for (cl::list::iterator AllocFunc = AllocList.begin(), + LastAllocFunc = AllocList.end(); + AllocFunc != LastAllocFunc; + ++AllocFunc) { + if (F->getName() == *(AllocFunc)) { +setDestTo(*CS.getInstruction(), + createNode()->setHeapNodeMarker()->setModifiedMarker()); +return; + } +} + if (F->getName() == "calloc" || F->getName() == "posix_memalign" || F->getName() == "memalign" || F->getName() == "valloc") { setDestTo(*CS.getInstruction(), ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/Local.cpp
Changes in directory llvm/lib/Analysis/DataStructure: Local.cpp updated: 1.136 -> 1.137 --- Log message: Added an option to specify the names of heap freeing functions. --- Diffs of the changes: (+20 -0) Local.cpp | 20 1 files changed, 20 insertions(+) Index: llvm/lib/Analysis/DataStructure/Local.cpp diff -u llvm/lib/Analysis/DataStructure/Local.cpp:1.136 llvm/lib/Analysis/DataStructure/Local.cpp:1.137 --- llvm/lib/Analysis/DataStructure/Local.cpp:1.136 Mon Dec 19 11:38:39 2005 +++ llvm/lib/Analysis/DataStructure/Local.cpp Mon Dec 19 13:54:23 2005 @@ -45,6 +45,12 @@ cl::desc("List of functions that allocate memory from the heap"), cl::CommaSeparated); +static cl::list +FreeList("free-list", + cl::value_desc("list"), + cl::desc("List of functions that free memory from the heap"), + cl::CommaSeparated); + namespace llvm { namespace DS { // isPointerType - Return true if this type is big enough to hold a pointer. @@ -567,6 +573,20 @@ } } +// Determine if the called function is one of the specified heap +// free functions +for (cl::list::iterator FreeFunc = FreeList.begin(), + LastFreeFunc = FreeList.end(); + FreeFunc != LastFreeFunc; + ++FreeFunc) { + if (F->getName() == *(FreeFunc)) { +// Mark that the node is written to... +if (DSNode *N = getValueDest(*(CS.getArgument(0))).getNode()) + N->setModifiedMarker()->setHeapNodeMarker(); +return; + } +} + if (F->getName() == "calloc" || F->getName() == "posix_memalign" || F->getName() == "memalign" || F->getName() == "valloc") { setDestTo(*CS.getInstruction(), ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/Local.cpp
Changes in directory llvm/lib/Analysis/DataStructure: Local.cpp updated: 1.137 -> 1.138 --- Log message: Prefix DSA specific options with dsa. Make the dsa-alloc-list and dsa-free-list options hidden. --- Diffs of the changes: (+4 -4) Local.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib/Analysis/DataStructure/Local.cpp diff -u llvm/lib/Analysis/DataStructure/Local.cpp:1.137 llvm/lib/Analysis/DataStructure/Local.cpp:1.138 --- llvm/lib/Analysis/DataStructure/Local.cpp:1.137 Mon Dec 19 13:54:23 2005 +++ llvm/lib/Analysis/DataStructure/Local.cpp Mon Dec 19 14:14:38 2005 @@ -40,16 +40,16 @@ cl::desc("If this is set, track integers as potential pointers")); static cl::list -AllocList("alloc-list", +AllocList("dsa-alloc-list", cl::value_desc("list"), cl::desc("List of functions that allocate memory from the heap"), - cl::CommaSeparated); + cl::CommaSeparated, cl::Hidden); static cl::list -FreeList("free-list", +FreeList("dsa-free-list", cl::value_desc("list"), cl::desc("List of functions that free memory from the heap"), - cl::CommaSeparated); + cl::CommaSeparated, cl::Hidden); namespace llvm { namespace DS { ___ 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.200 -> 1.201 --- Log message: Added the llvm-kernel project to the list of automatically configured projects. --- Diffs of the changes: (+1 -0) configure.ac |1 + 1 files changed, 1 insertion(+) Index: llvm/autoconf/configure.ac diff -u llvm/autoconf/configure.ac:1.200 llvm/autoconf/configure.ac:1.201 --- llvm/autoconf/configure.ac:1.200Mon Nov 14 01:24:01 2005 +++ llvm/autoconf/configure.ac Mon Dec 19 14:27:24 2005 @@ -75,6 +75,7 @@ "llvm-java")AC_CONFIG_SUBDIRS([projects/llvm-java]) ;; "llvm-tv") AC_CONFIG_SUBDIRS([projects/llvm-tv]) ;; "llvm-poolalloc") AC_CONFIG_SUBDIRS([projects/llvm-poolalloc]) ;; + "llvm-kernel") AC_CONFIG_SUBDIRS([projects/llvm-kernel]) ;; *) AC_MSG_WARN([Unknown project (${i}) won't be configured automatically]) ;; ___ 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.203 -> 1.204 --- Log message: Added the llvm-kernel project to the list of automatically configured projects. --- Diffs of the changes: (+34 -29) configure | 63 +- 1 files changed, 34 insertions(+), 29 deletions(-) Index: llvm/configure diff -u llvm/configure:1.203 llvm/configure:1.204 --- llvm/configure:1.203Mon Nov 14 01:25:50 2005 +++ llvm/configure Mon Dec 19 14:27:22 2005 @@ -438,6 +438,7 @@ ac_subdirs_all="$ac_subdirs_all projects/llvm-java" ac_subdirs_all="$ac_subdirs_all projects/llvm-tv" ac_subdirs_all="$ac_subdirs_all projects/llvm-poolalloc" +ac_subdirs_all="$ac_subdirs_all projects/llvm-kernel" # Factoring default headers for most tests. ac_includes_default="\ #include @@ -1605,6 +1606,10 @@ subdirs="$subdirs projects/llvm-poolalloc" ;; + "llvm-kernel") + +subdirs="$subdirs projects/llvm-kernel" + ;; *) { echo "$as_me:$LINENO: WARNING: Unknown project (${i}) won't be configured automatically" >&5 echo "$as_me: WARNING: Unknown project (${i}) won't be configured automatically" >&2;} @@ -8356,7 +8361,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext + echo '#line 10355 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -10832,7 +10837,7 @@ # Provide some information about the compiler. -echo "$as_me:10835:" \ +echo "$as_me:10840:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -11889,11 +11894,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11892: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11897: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11896: \$? = $ac_status" >&5 + echo "$as_me:11901: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -12132,11 +12137,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:12135: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12140: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:12139: \$? = $ac_status" >&5 + echo "$as_me:12144: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -12192,11 +12197,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:12195: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12200: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:12199: \$? = $ac_status" >&5 + echo "$as_me:12204: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14377,7 +14382,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:16676: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16675: \$? = $ac_status" >&5 + echo "$as_me:16680: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -16728,11 +16733,11 @@ -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16731: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16736: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16735: \$? = $ac_status" >&5 + echo "$as_me:16740: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -18089,7 +18094,7 @@ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:19032: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_s
[llvm-commits] CVS: llvm-poolalloc/runtime/README.txt
Changes in directory llvm-poolalloc/runtime: README.txt updated: 1.3 -> 1.4 --- Log message: Fixed minor typo. --- Diffs of the changes: (+1 -1) README.txt |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-poolalloc/runtime/README.txt diff -u llvm-poolalloc/runtime/README.txt:1.3 llvm-poolalloc/runtime/README.txt:1.4 --- llvm-poolalloc/runtime/README.txt:1.3 Wed May 18 14:56:29 2005 +++ llvm-poolalloc/runtime/README.txt Tue Dec 20 14:12:48 2005 @@ -5,7 +5,7 @@ directory. This supports the pool allocator, the bump pointer optimization, and the pointer compression runtime. -The implementation is the FreeListAllocator directory is much slower than +The implementation in the FreeListAllocator directory is much slower than the FL2Allocator and has not been updated. The implementation in the PoolAllocator directory is also probably out of date, ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-poolalloc/runtime/Makefile
Changes in directory llvm-poolalloc/runtime: Makefile updated: 1.9 -> 1.10 --- Log message: Removed the SAFECode pool allocator runtime. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-poolalloc/runtime/Makefile diff -u llvm-poolalloc/runtime/Makefile:1.9 llvm-poolalloc/runtime/Makefile:1.10 --- llvm-poolalloc/runtime/Makefile:1.9 Thu Dec 22 10:51:59 2005 +++ llvm-poolalloc/runtime/Makefile Thu Dec 22 12:04:25 2005 @@ -6,6 +6,6 @@ # # List all of the subdirectories that we will compile. # -DIRS=SafePoolAllocator PoolAllocator FreeListAllocator FL2Allocator +DIRS=PoolAllocator FreeListAllocator FL2Allocator include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/LICENSE.TXT
Changes in directory llvm: LICENSE.TXT updated: 1.25 -> 1.26 --- Log message: Happy New Year, LLVM. --- Diffs of the changes: (+1 -1) LICENSE.TXT |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/LICENSE.TXT diff -u llvm/LICENSE.TXT:1.25 llvm/LICENSE.TXT:1.26 --- llvm/LICENSE.TXT:1.25 Thu May 12 16:39:01 2005 +++ llvm/LICENSE.TXTTue Jan 3 08:42:06 2006 @@ -4,7 +4,7 @@ University of Illinois/NCSA Open Source License -Copyright (c) 2003, 2004, 2005 University of Illinois at Urbana-Champaign. +Copyright (c) 2003, 2004, 2005, 2006 University of Illinois at Urbana-Champaign. All rights reserved. Developed by: ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Linker/Linker.cpp
Changes in directory llvm/lib/Linker: Linker.cpp updated: 1.9 -> 1.10 --- Log message: Fixed style of curly brace. No functionality changes. --- Diffs of the changes: (+1 -2) Linker.cpp |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/lib/Linker/Linker.cpp diff -u llvm/lib/Linker/Linker.cpp:1.9 llvm/lib/Linker/Linker.cpp:1.10 --- llvm/lib/Linker/Linker.cpp:1.9 Mon Jan 9 21:12:29 2006 +++ llvm/lib/Linker/Linker.cpp Tue Jan 17 16:01:57 2006 @@ -157,8 +157,7 @@ /// Path if no matching file can be found. /// sys::Path -Linker::FindLib(const std::string &Filename) -{ +Linker::FindLib(const std::string &Filename) { // Determine if the pathname can be found as it stands. sys::Path FilePath(Filename); if (FilePath.canRead() && ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/docs/HowToReleaseLLVM.html
Changes in directory llvm/docs: HowToReleaseLLVM.html updated: 1.5 -> 1.6 --- Log message: First pass over Reid's document. Changed the order of operations so that more of the fine tuning is performed in the release branch. This should free up mainline sooner to resume development. Removed information on the special release Makefile targets as I've never used them for a release; Tanya is investigating their integration, and they can be re-added if she uses them. Added an outline for building the LLVM GCC binary distributions. I will be filling that section out later (but before the 1.7 release). --- Diffs of the changes: (+186 -42) HowToReleaseLLVM.html | 228 -- 1 files changed, 186 insertions(+), 42 deletions(-) Index: llvm/docs/HowToReleaseLLVM.html diff -u llvm/docs/HowToReleaseLLVM.html:1.5 llvm/docs/HowToReleaseLLVM.html:1.6 --- llvm/docs/HowToReleaseLLVM.html:1.5 Tue Apr 11 01:22:15 2006 +++ llvm/docs/HowToReleaseLLVM.html Tue Apr 11 15:24:28 2006 @@ -24,9 +24,21 @@ This document collects information about successfully releasing LLVM to the public. It is the release manager's guide to ensuring that a high quality build -of LLVM is released. Mostly, its just a bunch of reminders of things to do at +of LLVM is released. Mostly, it's just a bunch of reminders of things to do at release time so we don't inadvertently ship something that is utility deficient. + + +There are three main tasks for building a release of LLVM: + + Create the LLVM source distribution. + Create the LLVM GCC source distribtuion. + Create a set of LLVM GCC binary distribtuions for each supported + platform. These binary distributions must include compiled versions + of the libraries found in llvm/runtime from the LLVM + source distribution created in Step 1. + + @@ -37,46 +49,143 @@ Process Overview +Update Documentation Merge Branches +Make LibDeps.txt Settle LLVM HEAD +Tag LLVM and Create the Release Branch Build LLVM Run 'make check' Run LLVM Test Suite -make LibDeps.txt -cvs tag -make dist -release +Build the LLVM Source Distributions +Build the LLVM GCC Binary Distribution +Update Documentation + + + Review the documentation and ensure that it is up to date. The Release Notes + must be updated to reflect bug fixes, new known issues, and changes in the + list of supported platforms. The Getting Started Guide should be updated to + reflect the new release version number tag avaiable from CVS and changes in + basic system requirements. + + + + Merge Branches -Merge any work done on branches intended for release into mainline. Work that -is not to be incorporated into the release should not be merged from the branch. + +Merge any work done on branches intended for release into mainline. Finish and +commit all new features or bug fixes that are scheduled to go into the release. +Work that is not to be incorporated into the release should not be merged from +branchs or commited from developer's working directories. + + + +From this point until the release branch is created, developers should +not +commit changes to the llvm and llvm-gcc CVS repositories unless it is a bug +fix for the release. +Make LibDeps.txt + + Rebuild the LibDeps.txt target in utils/llvm-config. This + makes sure that the llvm-config utility remains relevant for the + release, reflecting any changes in the library dependencies. + + + + Settle CVS HEAD - Use the nightly test reports, and 'make check' (deja-gnu based tests) to - increase the quality of LLVM and ensure that merged branches have not - destabilized LLVM. + + Use the nightly test reports and 'make check' (deja-gnu based tests) to + ensure that recent changes and merged branches have not destabilized LLVM. + Platforms which are used less often should be given special attention as they + are the most likely to break from commits from the previous step. + + + + +CVS Tag And Branch + + Tag and branch the CVS HEAD using the following procedure: + + +Request all developers to refrain from committing. Offenders get commit +rights taken away (temporarily). + + + +The Release Manager updates his/her llvm, llvm-test, and llvm-gcc source +trees with the +latest sources from mainline CVS. The Release Manage may want to consider +using a new working directory for this to keep current uncommitted work +separate from release work. + + + +The Release Manager tags his/her llvm, llvm-test, and llvm-gcc working +directories with +"ROOT_RELEASE_XX" where XX is the major and minor +release numbers (you can't have . in a cvs tag name). So, for Release 1.2, +XX=12 and for Release 1.10, XX=110. + + + +Immediately create cvs branches based on the ROOT_RELEASE_XX tag. The tag +should be "release_XX" (where XX matches that
[llvm-commits] CVS: CVSROOT/loginfo
Changes in directory CVSROOT: loginfo updated: 1.12 -> 1.13 --- Log message: Testing new logging script. --- Diffs of the changes: (+1 -1) loginfo |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: CVSROOT/loginfo diff -u CVSROOT/loginfo:1.12 CVSROOT/loginfo:1.13 --- CVSROOT/loginfo:1.12Mon Jun 26 10:55:56 2006 +++ CVSROOT/loginfo Fri Nov 3 10:32:39 2006 @@ -28,5 +28,5 @@ ^reopt /home/vadve/shared/PublicCVS/CVSROOT/commit-diffs.pl %{sVv} llvm-commits@cs.uiuc.edu ^llva-emu /home/vadve/shared/PublicCVS/CVSROOT/commit-diffs.pl %{sVv} [EMAIL PROTECTED] ^llvm-java /home/vadve/shared/PublicCVS/CVSROOT/commit-diffs.pl %{sVv} llvm-commits@cs.uiuc.edu -^privbracket /home/vadve/criswell/local/common/bin/commit-diffs.pl %{sVv} [EMAIL PROTECTED] +^privbracket /home/vadve/criswell/local/common/bin/commit-diffs.pl %{sVv} [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] ^CVSROOT /home/vadve/shared/PublicCVS/CVSROOT/commit-diffs.pl %{sVv} llvm-commits@cs.uiuc.edu ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: CVSROOT/commit-diffs.pl
Changes in directory CVSROOT: commit-diffs.pl added (r1.1) --- Log message: Commit diffs script for InternalCVS repository. Simply is able to send email to multiple people. --- Diffs of the changes: (+240 -0) commit-diffs.pl | 240 1 files changed, 240 insertions(+) Index: CVSROOT/commit-diffs.pl diff -c /dev/null CVSROOT/commit-diffs.pl:1.1 *** /dev/null Fri Nov 3 10:44:03 2006 --- CVSROOT/commit-diffs.pl Fri Nov 3 10:43:53 2006 *** *** 0 --- 1,240 + #! /usr/bin/perl + + use POSIX qw(uname); + + # We have to spawn another process to avoid CVS locking. + if (fork()) { + exit(0); + } + + $DEFAULT_ADMIN = '[EMAIL PROTECTED]'; + $DEBUG = 0; + %REALNAMESTABLE = ( + 'reid' => 'Reid Spencer <[EMAIL PROTECTED]>', + 'sampo' => 'Nate Begeman <[EMAIL PROTECTED]>', + 'jeffc' => 'Jeff Cohen <[EMAIL PROTECTED]>', + 'duraid'=> 'Duraid Madina <[EMAIL PROTECTED]>', + 'jlaskey' => 'Jim Laskey <[EMAIL PROTECTED]>', + 'evancheng' => 'Evan Cheng <[EMAIL PROTECTED]>', + 'resistor' => 'Owen Anderson <[EMAIL PROTECTED]>', + 'rafael'=> 'Rafael Espindola <[EMAIL PROTECTED]>', + 'ghost' => 'Vladimir Prus <[EMAIL PROTECTED]>', + 'dpatel'=> 'Devang Patel <[EMAIL PROTECTED]>', + 'patjenk' => 'Patrick Jenkins <[EMAIL PROTECTED]>', + 'asl' => 'Anton Korobeynikov <[EMAIL PROTECTED]>', + 'void' => 'Bill Wendling <[EMAIL PROTECTED]>', + 'nicholas' => 'Nick Lewycky <[EMAIL PROTECTED]>', + 'lattner' => 'Chris Lattner <[EMAIL PROTECTED]>', + 'tbrethou' => 'Tanya Lattner <[EMAIL PROTECTED]>', + 'sheng' => 'Zhou Sheng <[EMAIL PROTECTED]>' + ); + + # A trivial script example to send mail on every CVS commit. + # The mail sent includes change summary, log message and a unidiff + # about the changes. + + # Original author: Jouni Heikniemi <[EMAIL PROTECTED]> + # This script was improved by Misha & Chris: + # * Hacked to work under Unix + # * Displays contents of new files (`cvs diff -r0 -r1.1') + # * Displays branch name in the subject line + # Brian Gaeke added support for people who commit via 'pserver' + # using the separate CVSROOT/passwd file. + + ## + # CVS loginfo format specifier '%{sVv}' produces items like + # 'source.c,1.2,1.3', 'source2.c,NONE,1.1' and 'source3.c,1.5,NONE' + # for change, add and remove, respectively. This method parses + # those to a hash and returns a ref to it. + + sub createChangeItem($) { #($) + my @arr = split(',', shift); + my %change; + $change{'filename'} = $arr[0]; + $change{'oldrev'} = $arr[1]; + $change{'newrev'} = $arr[2]; + if ($arr[1] eq 'NONE') { + $change{'type'} = 'add'; + } elsif ($arr[2] eq 'NONE') { + $change{'type'} = 'rm'; + } else { + $change{'type'} = 'c'; + } + return \%change; + } + + ## Main code: + + # Do a small delay so that the main CVS task finishes and + # releases locks first. + + sleep 10; + + if ($DEBUG) { + for (my $i = 0; $i <= $#ARGV; ++$i) { + print "ARGV[$i] = '$ARGV[$i]'\n"; + } + } + + # Find out who we shall send mail to + my $target = $ARGV[1] || $DEFAULT_ADMIN; + + # Manipulate the CVS's change info; see docs for further information. + my @changes = split(' ', $ARGV[0]); + my $changedir = shift @changes; + + if ($DEBUG) { + print join("\n--\n", @changes); + print "num changes: " .scalar(@changes) . "\n"; + } + + if ($changes[0] ne "-") { # Ignore " - New directory" messages + for ($j=0; $j < scalar(@changes); $j++) { + $changeItems[$j] = createChangeItem($changes[$j]); + } + } + + print "changedir: $changedir\n" if $DEBUG; + + my @loginfodata = ; + #print "loginfo: ". join("\n--\n", @loginfodata) if $DEBUG; + + # Pick up the committer's log message and branch from the loginfo we received + my @logmessage; + my $islogmessage = 0; + my $branch = ""; + + foreach $s (@loginfodata) { + if ($islogmessage) { + $s =~ s|([pP][rR]\s*([0-9]+))|$1: http://llvm.org/PR$2 |g; + $s =~ s|([bB][uU][gG]\s*([0-9]+))|$1: http://llvm.org/PR$2 |g; + @logmessage = (@logmessage, $s); + next; + } + + if ($s =~ /^Log Message:/) { + $islogmessage = 1; + next; + } elsif ($s =~ m/^\s+Tag:/) { + $branch = $s; + chop $branch; + $branch =~ s/^\s+Tag:\s(.+)/$1/; + } + } + + # Format the output + + my $msg = "\n\nChanges in directory $changedir:\n\n"; + + sub find_responsible_party { + my $newrev = $m->{'newrev'}; + my $path = "$changedir/$m->{'filename'}"; + my @histlines = + split ("\n", `cvs history -cal -f $path`); + my $DateRE = "[-:/0-9 ]+\\+[0-9]+"; + my $result = ""; + foreach my $line (@histlines) { + my ($Type, $Date, $UID, $Rev, $Filename); + if ($line =~ /([AMRUGC]) ($DateRE) ([^ ]+) +([^ ]+) +([^ ]+) +([^ ]+)/) { + ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, $4, "$6/$5"); +
[llvm-commits] CVS: CVSROOT/loginfo
Changes in directory CVSROOT: loginfo updated: 1.13 -> 1.14 --- Log message: Switch to using a new commit-diffs script for the SAFECode and Privilege Bracketing project. --- Diffs of the changes: (+2 -1) loginfo |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: CVSROOT/loginfo diff -u CVSROOT/loginfo:1.13 CVSROOT/loginfo:1.14 --- CVSROOT/loginfo:1.13Fri Nov 3 10:32:39 2006 +++ CVSROOT/loginfo Fri Nov 3 10:48:30 2006 @@ -28,5 +28,6 @@ ^reopt /home/vadve/shared/PublicCVS/CVSROOT/commit-diffs.pl %{sVv} llvm-commits@cs.uiuc.edu ^llva-emu /home/vadve/shared/PublicCVS/CVSROOT/commit-diffs.pl %{sVv} [EMAIL PROTECTED] ^llvm-java /home/vadve/shared/PublicCVS/CVSROOT/commit-diffs.pl %{sVv} llvm-commits@cs.uiuc.edu -^privbracket /home/vadve/criswell/local/common/bin/commit-diffs.pl %{sVv} [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] +^privbracket /home/vadve/shared/InternalCVS/CVSROOT/commit-diffs.pl %{sVv} [EMAIL PROTECTED] [EMAIL PROTECTED] +^safecode /home/vadve/shared/InternalCVS/CVSROOT/commit-diffs.pl %{sVv} [EMAIL PROTECTED] ^CVSROOT /home/vadve/shared/PublicCVS/CVSROOT/commit-diffs.pl %{sVv} llvm-commits@cs.uiuc.edu ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: CVSROOT/loginfo
Changes in directory CVSROOT: loginfo updated: 1.36 -> 1.37 --- Log message: Log SAFECode commits by sending me email. --- Diffs of the changes: (+1 -0) Index: CVSROOT/loginfo diff -u CVSROOT/loginfo:1.36 CVSROOT/loginfo:1.37 --- CVSROOT/loginfo:1.36Sun Jan 11 22:38:18 2004 +++ CVSROOT/loginfo Fri Nov 3 12:36:45 2006 @@ -30,6 +30,7 @@ #^llvm/www ( /home/vadve/vadve/Research/DynOpt/CVSRepository/CVSROOT/update-www.sh &); /home/vadve/vadve/Research/DynOpt/CVSRepository/CVSROOT/commit-diffs.pl %{sVv} llvm-commits@cs.uiuc.edu #^llvm /home/vadve/vadve/Research/DynOpt/CVSRepository/CVSROOT/commit-diffs.pl %{sVv} llvm-commits@cs.uiuc.edu #^reopt /home/vadve/vadve/Research/DynOpt/CVSRepository/CVSROOT/commit-diffs.pl %{sVv} llvm-commits@cs.uiuc.edu +^safecode /home/vadve/shared/InternalCVS/CVSROOT/commit-diffs.pl %{sVv} [EMAIL PROTECTED] ^poolalloc /home/vadve/vadve/Research/DynOpt/CVSRepository/CVSROOT/commit-diffs.pl %{sVv} llvm-commits@cs.uiuc.edu ^gcc-3.4 /home/vadve/vadve/Research/DynOpt/CVSRepository/CVSROOT/commit-diffs.pl %{sVv} llvm-commits@cs.uiuc.edu ^CVSROOT /home/vadve/vadve/Research/DynOpt/CVSRepository/CVSROOT/commit-diffs.pl %{sVv} llvm-commits@cs.uiuc.edu ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-poolalloc/lib/PoolAllocate/PoolAllocate.cpp PointerCompress.cpp
Changes in directory llvm-poolalloc/lib/PoolAllocate: PoolAllocate.cpp updated: 1.126 -> 1.127 PointerCompress.cpp updated: 1.71 -> 1.72 --- Log message: Removed unused variables to quelch new warnings from the LLVM build system. --- Diffs of the changes: (+6 -6) PointerCompress.cpp |8 PoolAllocate.cpp|4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) Index: llvm-poolalloc/lib/PoolAllocate/PoolAllocate.cpp diff -u llvm-poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.126 llvm-poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.127 --- llvm-poolalloc/lib/PoolAllocate/PoolAllocate.cpp:1.126 Tue Oct 24 16:43:50 2006 +++ llvm-poolalloc/lib/PoolAllocate/PoolAllocate.cppFri Nov 3 14:14:34 2006 @@ -613,7 +613,7 @@ // Calculate which DSNodes are reachable from globals. If a node is reachable // from a global, we will create a global pool for it, so no argument passage // is required. - DSGraph &GG = ECGraphs->getGlobalsGraph(); + ECGraphs->getGlobalsGraph(); // Map all node reachable from this global to the corresponding nodes in // the globals graph. @@ -680,7 +680,7 @@ static void DeleteIfIsPoolFree(Instruction *I, AllocaInst *PD, std::multimap &PoolFrees) { std::multimap::iterator PFI, PFE; - if (CallInst *CI = dyn_cast(I)) + if (dyn_cast(I)) for (tie(PFI,PFE) = PoolFrees.equal_range(PD); PFI != PFE; ++PFI) if (PFI->second == I) { PoolFrees.erase(PFI); Index: llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp diff -u llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.71 llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.72 --- llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp:1.71Tue Oct 24 16:43:50 2006 +++ llvm-poolalloc/lib/PoolAllocate/PointerCompress.cpp Fri Nov 3 14:14:34 2006 @@ -234,7 +234,7 @@ const Type *CompressedPoolInfo:: ComputeCompressedType(const Type *OrigTy, unsigned NodeOffset, std::map &Nodes) { - if (const PointerType *PTY = dyn_cast(OrigTy)) { + if (dyn_cast(OrigTy)) { if (ADLFix) { DSNode *PointeeNode = getNode()->getLink(NodeOffset).getNode(); if (PointeeNode == getNode()) @@ -792,7 +792,7 @@ // Value *SrcVal = SI.getOperand(0); if (!isa(SrcVal)) { -if (const CompressedPoolInfo *SrcPI = getPoolInfo(SrcVal)) { +if (getPoolInfo(SrcVal)) { // If the stored value is compressed, get the xformed version SrcVal = getTransformedValue(SrcVal); @@ -886,7 +886,7 @@ Size = BinaryOperator::createAdd(Size, ConstantInt::get(Type::UIntTy, OldSizeV-1), "roundup", &CI); - Size = BinaryOperator::createDiv(Size, OldSize, "numnodes", &CI); + Size = BinaryOperator::createUDiv(Size, OldSize, "numnodes", &CI); Size = BinaryOperator::createMul(Size, NewSize, "newbytes", &CI); } @@ -1194,7 +1194,7 @@ // Calculate which DSNodes are reachable from globals. If a node is reachable // from a global, we check to see if the global pool is compressed. - DSGraph &GG = ECG->getGlobalsGraph(); + ECG->getGlobalsGraph(); // Map all node reachable from this global to the corresponding nodes in the // globals graph. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-poolalloc/lib/PoolAllocate/PoolOptimize.cpp
Changes in directory llvm-poolalloc/lib/PoolAllocate: PoolOptimize.cpp updated: 1.7 -> 1.8 --- Log message: Remove unused variables per the new warnings from the LLVM build system. --- Diffs of the changes: (+2 -2) PoolOptimize.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-poolalloc/lib/PoolAllocate/PoolOptimize.cpp diff -u llvm-poolalloc/lib/PoolAllocate/PoolOptimize.cpp:1.7 llvm-poolalloc/lib/PoolAllocate/PoolOptimize.cpp:1.8 --- llvm-poolalloc/lib/PoolAllocate/PoolOptimize.cpp:1.7Tue Oct 24 16:43:50 2006 +++ llvm-poolalloc/lib/PoolAllocate/PoolOptimize.cppFri Nov 3 15:07:06 2006 @@ -225,12 +225,12 @@ } else if (CI->getCalledFunction() == PoolInit) { Args.assign(CI->op_begin()+1, CI->op_end()); Args.erase(Args.begin()+1); // Drop the size argument. -Value *New = new CallInst(PoolInitBP, Args, "", CI); +new CallInst(PoolInitBP, Args, "", CI); CI->eraseFromParent(); } else { assert(CI->getCalledFunction() == PoolDestroy); Args.assign(CI->op_begin()+1, CI->op_end()); -Value *New = new CallInst(PoolDestroyBP, Args, "", CI); +new CallInst(PoolDestroyBP, Args, "", CI); CI->eraseFromParent(); } } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Support/Allocator.cpp
Changes in directory llvm/lib/Support: Allocator.cpp updated: 1.1 -> 1.2 --- Log message: Include llvm/Support/DataTypes.h to define intptr_t. This fixes the build on OpenBSD and potentially other systems. --- Diffs of the changes: (+1 -0) Allocator.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Support/Allocator.cpp diff -u llvm/lib/Support/Allocator.cpp:1.1 llvm/lib/Support/Allocator.cpp:1.2 --- llvm/lib/Support/Allocator.cpp:1.1 Sun Oct 29 16:08:03 2006 +++ llvm/lib/Support/Allocator.cpp Wed Nov 8 09:04:35 2006 @@ -12,6 +12,7 @@ //===--===// #include "llvm/Support/Allocator.h" +#include "llvm/Support/DataTypes.h" #include using namespace llvm; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
Re: [llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp RegAllocLinearScan.cpp
Dear Mr. Laskey, This change broke the LLVM build on OpenBSD. Would it be possible to use FLT_MAX instead of HUGE_VALF? FLT_MAX from float.h looks more portable. -- John T. Jim Laskey wrote: > Changes in directory llvm/lib/CodeGen: > > LiveIntervalAnalysis.cpp updated: 1.190 -> 1.191 > RegAllocLinearScan.cpp updated: 1.129 -> 1.130 > --- > Log message: > > Use correct value for float HUGH_VAL. > > --- > Diffs of the changes: (+6 -6) > > LiveIntervalAnalysis.cpp |8 > RegAllocLinearScan.cpp |4 ++-- > 2 files changed, 6 insertions(+), 6 deletions(-) > > > Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp > diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.190 > llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.191 > --- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.190 Tue Nov 7 01:18:40 2006 > +++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp Tue Nov 7 06:25:45 2006 > @@ -219,7 +219,7 @@ >// range the use follows def immediately, it doesn't make sense to > spill >// it and hope it will be easier to allocate for this li. >if (isZeroLengthInterval(&LI)) > -LI.weight = float(HUGE_VAL); > +LI.weight = HUGE_VALF; > >if (EnableReweight) { > // Divide the weight of the interval by its size. This encourages > @@ -265,7 +265,7 @@ > >std::vector added; > > - assert(li.weight != HUGE_VAL && > + assert(li.weight != HUGE_VALF && > "attempt to spill already spilled interval!"); > >DEBUG(std::cerr << "\t\t\t\tadding intervals for spills for interval: "; > @@ -340,7 +340,7 @@ > > // the spill weight is now infinity as it > // cannot be spilled again > -nI.weight = float(HUGE_VAL); > +nI.weight = HUGE_VALF; > > if (HasUse) { >LiveRange LR(getLoadIndex(index), getUseIndex(index), > @@ -1362,6 +1362,6 @@ > > LiveInterval LiveIntervals::createInterval(unsigned reg) { >float Weight = MRegisterInfo::isPhysicalRegister(reg) ? > - (float)HUGE_VAL : 0.0F; > + HUGE_VALF : 0.0F; >return LiveInterval(reg, Weight); > } > > > Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp > diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.129 > llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.130 > --- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.129 Tue Oct 24 09:35:25 2006 > +++ llvm/lib/CodeGen/RegAllocLinearScan.cpp Tue Nov 7 06:25:45 2006 > @@ -545,7 +545,7 @@ >DEBUG(std::cerr << "\tassigning stack slot at interval "<< *cur << ":\n"); > >// Find a register to spill. > - float minWeight = float(HUGE_VAL); > + float minWeight = HUGE_VALF; >unsigned minReg = 0; >for (TargetRegisterClass::iterator i = RC->allocation_order_begin(*mf_), > e = RC->allocation_order_end(*mf_); i != e; ++i) { > @@ -582,7 +582,7 @@ >// if the current has the minimum weight, we need to spill it and >// add any added intervals back to unhandled, and restart >// linearscan. > - if (cur->weight != float(HUGE_VAL) && cur->weight <= minWeight) { > + if (cur->weight != HUGE_VALF && cur->weight <= minWeight) { > DEBUG(std::cerr << "\t\t\tspilling(c): " << *cur << '\n';); > int slot = vrm_->assignVirt2StackSlot(cur->reg); > std::vector added = > > > > ___ > llvm-commits mailing list > llvm-commits@cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits > ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp
Changes in directory llvm/lib/CodeGen/SelectionDAG: ScheduleDAGSimple.cpp updated: 1.20 -> 1.21 --- Log message: It seems the llvm::OStream class does not handle stream manipulators. For now, just grab the stream and perform the output on it directly. --- Diffs of the changes: (+7 -7) ScheduleDAGSimple.cpp | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp:1.20 llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp:1.21 --- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp:1.20Thu Dec 7 14:04:42 2006 +++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSimple.cpp Mon Dec 11 13:15:36 2006 @@ -713,13 +713,13 @@ void ScheduleDAGSimple::printNI(OStream &O, NodeInfo *NI) const { #ifndef NDEBUG SDNode *Node = NI->Node; - O << " " -<< std::hex << Node << std::dec -<< ", Lat=" << NI->Latency -<< ", Slot=" << NI->Slot -<< ", ARITY=(" << Node->getNumOperands() << "," -<< Node->getNumValues() << ")" -<< " " << Node->getOperationName(&DAG); + *(O.stream()) << " " +<< std::hex << Node << std::dec +<< ", Lat=" << NI->Latency +<< ", Slot=" << NI->Slot +<< ", ARITY=(" << Node->getNumOperands() << "," +<< Node->getNumValues() << ")" +<< " " << Node->getOperationName(&DAG); if (isFlagDefiner(Node)) O << "<#"; if (isFlagUser(Node)) O << ">#"; #endif ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_19] CVS: llvm-poolalloc/lib/DSA/BottomUpClosure.cpp CallTargets.cpp CompleteBottomUp.cpp DataStructure.cpp DataStructureAA.cpp DataStructureOpt.cpp DataStructureStats.cpp Equiv
Changes in directory llvm-poolalloc/lib/DSA: BottomUpClosure.cpp updated: 1.123 -> 1.123.2.1 CallTargets.cpp updated: 1.4 -> 1.4.2.1 CompleteBottomUp.cpp updated: 1.37 -> 1.37.2.1 DataStructure.cpp updated: 1.248 -> 1.248.2.1 DataStructureAA.cpp updated: 1.40 -> 1.40.2.1 DataStructureOpt.cpp updated: 1.13 -> 1.13.2.1 DataStructureStats.cpp updated: 1.21 -> 1.21.2.1 EquivClassGraphs.cpp updated: 1.49 -> 1.49.2.1 GraphChecker.cpp updated: 1.21 -> 1.21.2.1 Local.cpp updated: 1.158 -> 1.158.2.1 Makefile updated: 1.5 -> 1.5.2.1 Printer.cpp updated: 1.86 -> 1.86.2.1 Steensgaard.cpp updated: 1.65 -> 1.65.2.1 TopDownClosure.cpp updated: 1.92 -> 1.92.2.1 --- Log message: Adjusted DSA to build within the llvm-poolalloc project. Merged in the pool inference code. --- Diffs of the changes: (+701 -61) BottomUpClosure.cpp| 12 - CallTargets.cpp|6 CompleteBottomUp.cpp |4 DataStructure.cpp | 247 ++ DataStructureAA.cpp|4 DataStructureOpt.cpp |4 DataStructureStats.cpp |4 EquivClassGraphs.cpp |4 GraphChecker.cpp |4 Local.cpp | 453 ++--- Makefile |4 Printer.cpp|6 Steensgaard.cpp|5 TopDownClosure.cpp |5 14 files changed, 701 insertions(+), 61 deletions(-) Index: llvm-poolalloc/lib/DSA/BottomUpClosure.cpp diff -u llvm-poolalloc/lib/DSA/BottomUpClosure.cpp:1.123 llvm-poolalloc/lib/DSA/BottomUpClosure.cpp:1.123.2.1 --- llvm-poolalloc/lib/DSA/BottomUpClosure.cpp:1.123Mon Oct 23 14:55:24 2006 +++ llvm-poolalloc/lib/DSA/BottomUpClosure.cpp Tue Dec 12 16:42:41 2006 @@ -14,8 +14,8 @@ // //===--===// #define DEBUG_TYPE "bu_dsa" -#include "llvm/Analysis/DataStructure/DataStructure.h" -#include "llvm/Analysis/DataStructure/DSGraph.h" +#include "dsa/DataStructure.h" +#include "dsa/DSGraph.h" #include "llvm/Module.h" #include "llvm/DerivedTypes.h" #include "llvm/ADT/Statistic.h" @@ -590,11 +590,11 @@ ++NumBUInlines; } else { if (!Printed) - std::cerr << "In Fns: " << Graph.getFunctionNames() << "\n"; -std::cerr << " calls " << CalledFuncs.size() + DEBUG(std::cerr << "In Fns: " << Graph.getFunctionNames() << "\n"); + DEBUG(std::cerr << " calls " << CalledFuncs.size() << " fns from site: " << CS.getCallSite().getInstruction() - << " " << *CS.getCallSite().getInstruction(); -std::cerr << " Fns ="; + << " " << *CS.getCallSite().getInstruction()); +DEBUG(std::cerr << " Fns ="); unsigned NumPrinted = 0; for (std::vector::iterator I = CalledFuncs.begin(), Index: llvm-poolalloc/lib/DSA/CallTargets.cpp diff -u llvm-poolalloc/lib/DSA/CallTargets.cpp:1.4 llvm-poolalloc/lib/DSA/CallTargets.cpp:1.4.2.1 --- llvm-poolalloc/lib/DSA/CallTargets.cpp:1.4 Sun Aug 27 17:31:12 2006 +++ llvm-poolalloc/lib/DSA/CallTargets.cpp Tue Dec 12 16:42:41 2006 @@ -19,9 +19,9 @@ #include "llvm/Module.h" #include "llvm/Instructions.h" -#include "llvm/Analysis/DataStructure/DataStructure.h" -#include "llvm/Analysis/DataStructure/DSGraph.h" -#include "llvm/Analysis/DataStructure/CallTargets.h" +#include "dsa/DataStructure.h" +#include "dsa/DSGraph.h" +#include "dsa/CallTargets.h" #include "llvm/ADT/Statistic.h" #include #include "llvm/Constants.h" Index: llvm-poolalloc/lib/DSA/CompleteBottomUp.cpp diff -u llvm-poolalloc/lib/DSA/CompleteBottomUp.cpp:1.37 llvm-poolalloc/lib/DSA/CompleteBottomUp.cpp:1.37.2.1 --- llvm-poolalloc/lib/DSA/CompleteBottomUp.cpp:1.37Fri Oct 13 12:38:22 2006 +++ llvm-poolalloc/lib/DSA/CompleteBottomUp.cpp Tue Dec 12 16:42:41 2006 @@ -14,9 +14,9 @@ //===--===// #define DEBUG_TYPE "cbudatastructure" -#include "llvm/Analysis/DataStructure/DataStructure.h" +#include "dsa/DataStructure.h" #include "llvm/Module.h" -#include "llvm/Analysis/DataStructure/DSGraph.h" +#include "dsa/DSGraph.h" #include "llvm/Support/Debug.h" #include "llvm/ADT/SCCIterator.h" #include "llvm/ADT/Statistic.h" Index: llvm-poolalloc/lib/DSA/DataStructure.cpp diff -u llvm-poolalloc/lib/DSA/DataStructure.cpp:1.248 llvm-poolalloc/lib/DSA/DataStructure.cpp:1.248.2.1 --- llvm-poolalloc/lib/DSA/DataStructure.cpp:1.248 Thu Nov 2 14:25:49 2006 +++ llvm-poolalloc/lib/DSA/DataStructure.cppTue Dec 12 16:42:42 2006 @@ -1,3 +1,4 @@ +#define JTC 0 //===- DataStructure.cpp - Implement the core data structure analysis -===// // // The LLVM Compiler Infrastructure @@ -11,7 +12,9 @@ // //===--===// -#include "llvm/Analysis/DataStructure/DSGraphTraits.h" +#include "dsa/DSGraphTraits.h" +#include "dsa/DataStructure.h" +#include "d
[llvm-commits] [release_19] CVS: llvm-poolalloc/include/dsa/DSGraph.h DSNode.h DataStructure.h
Changes in directory llvm-poolalloc/include/dsa: DSGraph.h updated: 1.110 -> 1.110.2.1 DSNode.h updated: 1.58 -> 1.58.2.1 DataStructure.h updated: 1.98 -> 1.98.2.1 --- Log message: Adjusted DSA to build within the llvm-poolalloc project. Merged in the pool inference code. --- Diffs of the changes: (+111 -7) DSGraph.h | 100 +--- DSNode.h|9 - DataStructure.h |9 - 3 files changed, 111 insertions(+), 7 deletions(-) Index: llvm-poolalloc/include/dsa/DSGraph.h diff -u llvm-poolalloc/include/dsa/DSGraph.h:1.110 llvm-poolalloc/include/dsa/DSGraph.h:1.110.2.1 --- llvm-poolalloc/include/dsa/DSGraph.h:1.110 Wed Feb 22 10:23:42 2006 +++ llvm-poolalloc/include/dsa/DSGraph.hTue Dec 12 16:42:37 2006 @@ -19,9 +19,13 @@ #include "llvm/ADT/hash_map" #include "llvm/ADT/EquivalenceClasses.h" #include - +#include +#include +#define LLVA_KERNEL 1 namespace llvm { + //typedef map PoolDescriptorMapType; + class GlobalValue; //===--===// @@ -170,6 +174,62 @@ }; +#ifdef LLVA_KERNEL +class MetaPool; +class MetaPoolHandle { + MetaPool *Rep; + Instruction * Creator; +public: + MetaPoolHandle(MetaPool *mp, Instruction * Maker = 0); + + MetaPool *getMetaPool() { +return Rep; + } + void setMetaPool(MetaPool *v) { +Rep = v; + } + ~MetaPoolHandle() { +//do nothing for now + } + const std::string &getName(); + Value *getMetaPoolValue(); + void merge(MetaPoolHandle *other); +}; + + class MetaPool { +Value *MPD; +hash_set HandleSet; + + public: +MetaPool(Value *mpd) : MPD(mpd) { +} +void addMetaPoolHandles(hash_set & mpHS) { + HandleSet.insert(mpHS.begin(), mpHS.end()); +} +hash_set& getHandleSet() { + return HandleSet; +} +Value * getMetaPoolValue() { + return MPD; +} +void setMetaPoolValue(Value *V) { + MPD = V; +} +void insert(MetaPoolHandle *mph) { + HandleSet.insert(mph); +} +const std::string& getName() { + return MPD->getName(); +} +~MetaPool() { + HandleSet.clear(); +} + }; + +#endif + + + //===--===// /// DSGraph - The graph that represents a function. /// @@ -219,13 +279,18 @@ /// constructed for. const TargetData &TD; +#ifdef LLVA_KERNEL + hash_map PoolDescriptors; +#endif + + + void operator=(const DSGraph &); // DO NOT IMPLEMENT DSGraph(const DSGraph&); // DO NOT IMPLEMENT public: // Create a new, empty, DSGraph. DSGraph(EquivalenceClasses &ECs, const TargetData &td) -: GlobalsGraph(0), PrintAuxCalls(false), ScalarMap(ECs), TD(td) {} - +: GlobalsGraph(0), PrintAuxCalls(false), ScalarMap(ECs), TD(td) { } // Compute the local DSGraph DSGraph(EquivalenceClasses &ECs, const TargetData &TD, Function &F, DSGraph *GlobalsGraph); @@ -238,13 +303,38 @@ // source. You need to set a new GlobalsGraph with the setGlobalsGraph // method. // - DSGraph(const DSGraph &DSG, EquivalenceClasses &ECs, + DSGraph( DSGraph &DSG, EquivalenceClasses &ECs, unsigned CloneFlags = 0); ~DSGraph(); DSGraph *getGlobalsGraph() const { return GlobalsGraph; } void setGlobalsGraph(DSGraph *G) { GlobalsGraph = G; } +#ifdef LLVA_KERNEL +#if 1 + hash_map& getPoolDescriptorsMap() { +return PoolDescriptors; + } + MetaPoolHandle *getPoolForNode(const DSNode *N) { +if (PoolDescriptors.count(N) > 0) { + return PoolDescriptors[N]; +} +return 0; + } +#else + hash_map& getPoolDescriptorsMap() { +return PoolDescriptors; + } + MetaPoolHandle *getPoolForNode(const DSNodeHandle *N) { +if (PoolDescriptors.count(N) > 0) { + return PoolDescriptors[N]; +} +return 0; + } +#endif + +#endif + /// getGlobalECs - Return the set of equivalence classes that the global /// variables in the program form. EquivalenceClasses &getGlobalECs() const { @@ -469,7 +559,7 @@ /// /// The CloneFlags member controls various aspects of the cloning process. /// - void cloneInto(const DSGraph &G, unsigned CloneFlags = 0); + void cloneInto(DSGraph &G, unsigned CloneFlags = 0); /// getFunctionArgumentsForCall - Given a function that is currently in this /// graph, return the DSNodeHandles that correspond to the pointer-compatible Index: llvm-poolalloc/include/dsa/DSNode.h diff -u llvm-poolalloc/include/dsa/DSNode.h:1.58 llvm-poolalloc/include/dsa/DSNode.h:1.58.2.1 --- llvm-poolalloc/include/dsa/DSNode.h:1.58Fri May 19 14:07:54 2006 +++ llvm-poolalloc/include/dsa/DSNode.h Tue Dec 12 16:42:37 2006 @@ -91,8 +91,9 @@ Read= 1 << 6, // This node is read in this context Array = 1 << 7, // This node is treated like an array +External= 1 << 8, // This node comes from an external source //#ifnd
[llvm-commits] [release_19] CVS: llvm-poolalloc/lib/Makefile
Changes in directory llvm-poolalloc/lib: Makefile updated: 1.3 -> 1.3.2.1 --- Log message: Build DSA and Pool Allocation in parallel. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-poolalloc/lib/Makefile diff -u llvm-poolalloc/lib/Makefile:1.3 llvm-poolalloc/lib/Makefile:1.3.2.1 --- llvm-poolalloc/lib/Makefile:1.3 Wed May 18 14:56:25 2005 +++ llvm-poolalloc/lib/Makefile Tue Dec 12 16:48:36 2006 @@ -6,6 +6,6 @@ # # List all of the subdirectories that we will compile. # -DIRS=PoolAllocate +PARALLEL_DIRS=DSA PoolAllocate include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_19] CVS: llvm-poolalloc/include/dsa/DSGraph.h DataStructure.h
Changes in directory llvm-poolalloc/include/dsa: DSGraph.h updated: 1.110.2.1 -> 1.110.2.2 DataStructure.h updated: 1.98.2.1 -> 1.98.2.2 --- Log message: Do not build with these enabled by default; let configure script enable them. --- Diffs of the changes: (+0 -3) DSGraph.h |1 - DataStructure.h |2 -- 2 files changed, 3 deletions(-) Index: llvm-poolalloc/include/dsa/DSGraph.h diff -u llvm-poolalloc/include/dsa/DSGraph.h:1.110.2.1 llvm-poolalloc/include/dsa/DSGraph.h:1.110.2.2 --- llvm-poolalloc/include/dsa/DSGraph.h:1.110.2.1 Tue Dec 12 16:42:37 2006 +++ llvm-poolalloc/include/dsa/DSGraph.hTue Dec 12 17:20:47 2006 @@ -21,7 +21,6 @@ #include #include #include -#define LLVA_KERNEL 1 namespace llvm { //typedef map PoolDescriptorMapType; Index: llvm-poolalloc/include/dsa/DataStructure.h diff -u llvm-poolalloc/include/dsa/DataStructure.h:1.98.2.1 llvm-poolalloc/include/dsa/DataStructure.h:1.98.2.2 --- llvm-poolalloc/include/dsa/DataStructure.h:1.98.2.1 Tue Dec 12 16:42:37 2006 +++ llvm-poolalloc/include/dsa/DataStructure.h Tue Dec 12 17:20:47 2006 @@ -37,8 +37,6 @@ FunctionPass *createDataStructureStatsPass(); FunctionPass *createDataStructureGraphCheckerPass(); -#define LLVA_KERNEL 1 - // FIXME: move this stuff to a private header namespace DataStructureAnalysis { /// isPointerType - Return true if this first class type is big enough to hold ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_19] CVS: llvm-poolalloc/lib/DSA/DataStructure.cpp
Changes in directory llvm-poolalloc/lib/DSA: DataStructure.cpp updated: 1.248.2.1 -> 1.248.2.2 --- Log message: Do not compile in pool inference code by default. --- Diffs of the changes: (+0 -1) DataStructure.cpp |1 - 1 files changed, 1 deletion(-) Index: llvm-poolalloc/lib/DSA/DataStructure.cpp diff -u llvm-poolalloc/lib/DSA/DataStructure.cpp:1.248.2.1 llvm-poolalloc/lib/DSA/DataStructure.cpp:1.248.2.2 --- llvm-poolalloc/lib/DSA/DataStructure.cpp:1.248.2.1 Tue Dec 12 16:42:42 2006 +++ llvm-poolalloc/lib/DSA/DataStructure.cppWed Dec 13 10:25:34 2006 @@ -35,7 +35,6 @@ using namespace llvm; #define COLLAPSE_ARRAYS_AGGRESSIVELY 0 -#define LLVA_KERNEL 1 namespace { Statistic<> NumFolds ("dsa", "Number of nodes completely folded"); Statistic<> NumCallNodesMerged("dsa", "Number of call nodes merged"); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] [release_19] CVS: llvm-poolalloc/include/dsa/DSGraph.h DSGraphTraits.h DSNode.h
Changes in directory llvm-poolalloc/include/dsa: DSGraph.h updated: 1.110.2.2 -> 1.110.2.3 DSGraphTraits.h updated: 1.25 -> 1.25.2.1 DSNode.h updated: 1.58.2.1 -> 1.58.2.2 --- Log message: Only use DSA header files from this project. --- Diffs of the changes: (+3 -3) DSGraph.h |2 +- DSGraphTraits.h |2 +- DSNode.h|2 +- 3 files changed, 3 insertions(+), 3 deletions(-) Index: llvm-poolalloc/include/dsa/DSGraph.h diff -u llvm-poolalloc/include/dsa/DSGraph.h:1.110.2.2 llvm-poolalloc/include/dsa/DSGraph.h:1.110.2.3 --- llvm-poolalloc/include/dsa/DSGraph.h:1.110.2.2 Tue Dec 12 17:20:47 2006 +++ llvm-poolalloc/include/dsa/DSGraph.hWed Dec 13 10:24:48 2006 @@ -15,7 +15,7 @@ #ifndef LLVM_ANALYSIS_DSGRAPH_H #define LLVM_ANALYSIS_DSGRAPH_H -#include "llvm/Analysis/DataStructure/DSNode.h" +#include "dsa/DSNode.h" #include "llvm/ADT/hash_map" #include "llvm/ADT/EquivalenceClasses.h" #include Index: llvm-poolalloc/include/dsa/DSGraphTraits.h diff -u llvm-poolalloc/include/dsa/DSGraphTraits.h:1.25 llvm-poolalloc/include/dsa/DSGraphTraits.h:1.25.2.1 --- llvm-poolalloc/include/dsa/DSGraphTraits.h:1.25 Thu Nov 2 19:43:47 2006 +++ llvm-poolalloc/include/dsa/DSGraphTraits.h Wed Dec 13 10:24:48 2006 @@ -16,7 +16,7 @@ #ifndef LLVM_ANALYSIS_DSGRAPHTRAITS_H #define LLVM_ANALYSIS_DSGRAPHTRAITS_H -#include "llvm/Analysis/DataStructure/DSGraph.h" +#include "dsa/DSGraph.h" #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/iterator" #include "llvm/ADT/STLExtras.h" Index: llvm-poolalloc/include/dsa/DSNode.h diff -u llvm-poolalloc/include/dsa/DSNode.h:1.58.2.1 llvm-poolalloc/include/dsa/DSNode.h:1.58.2.2 --- llvm-poolalloc/include/dsa/DSNode.h:1.58.2.1Tue Dec 12 16:42:37 2006 +++ llvm-poolalloc/include/dsa/DSNode.h Wed Dec 13 10:24:48 2006 @@ -14,7 +14,7 @@ #ifndef LLVM_ANALYSIS_DSNODE_H #define LLVM_ANALYSIS_DSNODE_H -#include "llvm/Analysis/DataStructure/DSSupport.h" +#include "dsa/DSSupport.h" #include "llvm/ADT/hash_map" namespace llvm { ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/LinkAllPasses.h
Changes in directory llvm/include/llvm: LinkAllPasses.h updated: 1.4 -> 1.5 --- Log message: Remove DSA. --- Diffs of the changes: (+0 -11) LinkAllPasses.h | 11 --- 1 files changed, 11 deletions(-) Index: llvm/include/llvm/LinkAllPasses.h diff -u llvm/include/llvm/LinkAllPasses.h:1.4 llvm/include/llvm/LinkAllPasses.h:1.5 --- llvm/include/llvm/LinkAllPasses.h:1.4 Mon Nov 13 23:21:04 2006 +++ llvm/include/llvm/LinkAllPasses.h Wed Dec 13 10:53:17 2006 @@ -57,8 +57,6 @@ (void) llvm::createConstantMergePass(); (void) llvm::createConstantPropagationPass(); (void) llvm::createCorrelatedExpressionEliminationPass(); - (void) llvm::createDSAAPass(); - (void) llvm::createDSOptPass(); (void) llvm::createDeadArgEliminationPass(); (void) llvm::createDeadCodeEliminationPass(); (void) llvm::createDeadInstEliminationPass(); @@ -106,7 +104,6 @@ (void) llvm::createScalarReplAggregatesPass(); (void) llvm::createSimplifyLibCallsPass(); (void) llvm::createSingleLoopExtractorPass(); - (void) llvm::createSteensgaardPass(); (void) llvm::createStripSymbolsPass(); (void) llvm::createTailCallEliminationPass(); (void) llvm::createTailDuplicationPass(); @@ -118,22 +115,14 @@ (void) llvm::createNullProfilerRSPass(); (void) llvm::createRSProfilingPass(); (void) llvm::createIndMemRemPass(); - (void) llvm::createDataStructureStatsPass(); - (void) llvm::createDataStructureGraphCheckerPass(); (void) llvm::createInstCountPass(); (void) llvm::createPredicateSimplifierPass(); - (void)new llvm::LocalDataStructures(); - (void)new llvm::BUDataStructures(); - (void)new llvm::TDDataStructures(); - (void)new llvm::CompleteBUDataStructures(); - (void)new llvm::EquivClassGraphs(); (void)new llvm::IntervalPartition(); (void)new llvm::ImmediateDominators(); (void)new llvm::PostDominatorSet(); (void)new llvm::FindUsedTypes(); (void)new llvm::ScalarEvolution(); - (void)new llvm::CallTargetFinder(); ((llvm::Function*)0)->viewCFGOnly(); llvm::AliasSetTracker X(*(llvm::AliasAnalysis*)0); X.add((llvm::Value*)0, 0); // for -print-alias-sets ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/opt/Makefile
Changes in directory llvm/tools/opt: Makefile updated: 1.59 -> 1.60 --- Log message: Remove DSA. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/opt/Makefile diff -u llvm/tools/opt/Makefile:1.59 llvm/tools/opt/Makefile:1.60 --- llvm/tools/opt/Makefile:1.59Mon Sep 4 00:59:09 2006 +++ llvm/tools/opt/Makefile Wed Dec 13 10:54:05 2006 @@ -11,6 +11,6 @@ REQUIRES_EH := 1 LINK_COMPONENTS := bcreader bcwriter instrumentation scalaropts ipo \ - datastructure transforms + transforms include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Analysis/Makefile
Changes in directory llvm/lib/Analysis: Makefile updated: 1.11 -> 1.12 --- Log message: Remove DSA. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Analysis/Makefile diff -u llvm/lib/Analysis/Makefile:1.11 llvm/lib/Analysis/Makefile:1.12 --- llvm/lib/Analysis/Makefile:1.11 Sun Oct 23 21:24:54 2005 +++ llvm/lib/Analysis/Makefile Wed Dec 13 10:54:24 2006 @@ -9,7 +9,7 @@ LEVEL = ../.. LIBRARYNAME = LLVMAnalysis -PARALLEL_DIRS = IPA DataStructure +PARALLEL_DIRS = IPA BUILD_ARCHIVE = 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/bugpoint/Makefile
Changes in directory llvm/tools/bugpoint: Makefile updated: 1.19 -> 1.20 --- Log message: Remove DSA. --- Diffs of the changes: (+1 -1) Makefile |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/tools/bugpoint/Makefile diff -u llvm/tools/bugpoint/Makefile:1.19 llvm/tools/bugpoint/Makefile:1.20 --- llvm/tools/bugpoint/Makefile:1.19 Mon Sep 4 00:59:09 2006 +++ llvm/tools/bugpoint/MakefileWed Dec 13 10:54:08 2006 @@ -11,7 +11,7 @@ TOOLNAME = bugpoint LINK_COMPONENTS := bcreader bcwriter asmparser instrumentation scalaropts ipo \ - datastructure transforms linker + transforms linker REQUIRES_EH := 1 include $(LEVEL)/Makefile.common ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/test/Regression/Analysis/DSGraph/.cvsignore
Changes in directory llvm/test/Regression/Analysis/DSGraph: .cvsignore (r1.2) removed --- Log message: Remove DSA tests. --- 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/test/Regression/Analysis/DSGraph/dg.exp
Changes in directory llvm/test/Regression/Analysis/DSGraph: dg.exp (r1.3) removed --- Log message: Remove DSA tests. --- 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