Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Update LLVM/Clang snapshot to r143571 for the improved optim...



details:   https://anonhg.NetBSD.org/src/rev/df410cbd589c
branches:  trunk
changeset: 770948:df410cbd589c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Nov 03 17:52:53 2011 +0000

description:
Update LLVM/Clang snapshot to r143571 for the improved optimizer.

diffstat:

 external/bsd/llvm/Makefile.inc                            |   9 ++--
 external/bsd/llvm/bin/clang/Makefile                      |   3 +-
 external/bsd/llvm/config/llvm/Config/config.h             |  22 ++++++------
 external/bsd/llvm/config/llvm/Config/llvm-config.h        |  27 ++++++++------
 external/bsd/llvm/lib/Makefile                            |   4 +-
 external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile          |   3 +-
 external/bsd/llvm/lib/libLLVMCodeGen/Makefile             |   3 +-
 external/bsd/llvm/lib/libLLVMLinker/Makefile              |   6 ++-
 external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile         |   3 +-
 external/bsd/llvm/lib/libLLVMScalarOpts/Makefile          |   3 +-
 external/bsd/llvm/lib/libLLVMSelectionDAG/Makefile        |   3 +-
 external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile     |   3 +-
 external/bsd/llvm/lib/libclangAnalysis/Makefile           |   6 ++-
 external/bsd/llvm/lib/libclangFrontend/Makefile           |   4 +-
 external/bsd/llvm/lib/libclangSema/Makefile               |   5 +-
 external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile |   3 +-
 tools/llvm-lib/libLLVMLinker/Makefile                     |   3 +
 17 files changed, 64 insertions(+), 46 deletions(-)

diffs (truncated from 429 to 300 lines):

diff -r 81f0aadf80af -r df410cbd589c external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc    Thu Nov 03 15:13:02 2011 +0000
+++ b/external/bsd/llvm/Makefile.inc    Thu Nov 03 17:52:53 2011 +0000
@@ -1,19 +1,20 @@
-#      $NetBSD: Makefile.inc,v 1.23 2011/10/11 13:53:57 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.24 2011/11/03 17:52:53 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
 
 .include <bsd.own.mk>
 
-LLVM_REVISION= 141658
-CLANG_REVISION=        141658 
+LLVM_REVISION= 143571
+CLANG_REVISION=        143571
 
 LLVM_SRCDIR:=  ${.PARSEDIR}/dist/llvm
 CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
 LLVM_TOPLEVEL:=        ${.PARSEDIR}
 
 CPPFLAGS+=     -I. -I${LLVM_SRCDIR}/include -I${CLANG_SRCDIR}/include \
-               -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
+               -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS \
+               -D__STDC_FORMAT_MACROS
 
 .if defined(HOSTLIB) || defined(HOSTPROG)
 LLVM_INCLUDE_CONFIG=   ${LLVM_TOOLCONF_OBJDIR}/config/include
diff -r 81f0aadf80af -r df410cbd589c external/bsd/llvm/bin/clang/Makefile
--- a/external/bsd/llvm/bin/clang/Makefile      Thu Nov 03 15:13:02 2011 +0000
+++ b/external/bsd/llvm/bin/clang/Makefile      Thu Nov 03 17:52:53 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.15 2011/08/09 12:30:47 joerg Exp $
+#      $NetBSD: Makefile,v 1.16 2011/11/03 17:52:53 joerg Exp $
 
 PROG_CXX=      clang
 NOMAN=         yes
@@ -73,6 +73,7 @@
        MCDisassembler \
        MCParser \
        MC \
+       Linker \
        TransformsUtils \
        ipa \
        Core \
diff -r 81f0aadf80af -r df410cbd589c external/bsd/llvm/config/llvm/Config/config.h
--- a/external/bsd/llvm/config/llvm/Config/config.h     Thu Nov 03 15:13:02 2011 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h     Thu Nov 03 17:52:53 2011 +0000
@@ -539,19 +539,22 @@
 #define LLVM_BINDIR "/usr/bin"
 
 /* Time at which LLVM was configured */
-#define LLVM_CONFIGTIME "Mon Jul 25 15:20:40 CEST 2011"
+#define LLVM_CONFIGTIME "Thu Nov  3 00:22:51 CET 2011"
 
 /* Installation directory for data files */
 #define LLVM_DATADIR "/usr/share/llvm"
 
+/* Target triple LLVM will generate code for by default */
+#define LLVM_DEFAULT_TARGET_TRIPLE "x86_64--netbsd"
+
 /* Installation directory for documentation */
 #define LLVM_DOCSDIR "/usr/share/doc/llvm"
 
 /* Installation directory for config files */
 #define LLVM_ETCDIR "/usr/etc/llvm"
 
-/* Host triple we were built on */
-#define LLVM_HOSTTRIPLE "x86_64--netbsd"
+/* Has gcc/MSVC atomic intrinsics */
+#define LLVM_HAS_ATOMICS 1
 
 /* Installation directory for include files */
 #define LLVM_INCLUDEDIR "/usr/include"
@@ -565,9 +568,6 @@
 /* Installation directory for man pages */
 #define LLVM_MANDIR "/usr/man"
 
-/* Build multithreading support into LLVM */
-#define LLVM_MULTITHREADED 1
-
 /* LLVM architecture name for the native architecture, if available */
 #define LLVM_NATIVE_ARCH X86
 
@@ -577,15 +577,15 @@
 /* LLVM name for the native AsmPrinter init function, if available */
 #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
 
-/* LLVM name for the native TargetMC init function, if available */
-#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
-
 /* LLVM name for the native Target init function, if available */
 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target
 
 /* LLVM name for the native TargetInfo init function, if available */
 #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
 
+/* LLVM name for the native target MC init function, if available */
+#define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
+
 /* Define if this is Unixish platform */
 #define LLVM_ON_UNIX 1
 
@@ -653,13 +653,13 @@
 #define PACKAGE_NAME "llvm"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "llvm 3.0svn"
+#define PACKAGE_STRING "llvm 3.1svn"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "-llvm-"
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "3.0svn"
+#define PACKAGE_VERSION "3.1svn"
 
 /* Define as the return type of signal handlers (`int' or `void'). */
 #define RETSIGTYPE void
diff -r 81f0aadf80af -r df410cbd589c external/bsd/llvm/config/llvm/Config/llvm-config.h
--- a/external/bsd/llvm/config/llvm/Config/llvm-config.h        Thu Nov 03 15:13:02 2011 +0000
+++ b/external/bsd/llvm/config/llvm/Config/llvm-config.h        Thu Nov 03 17:52:53 2011 +0000
@@ -21,7 +21,7 @@
 #define LLVM_BINDIR "/usr/bin"
 
 /* Time at which LLVM was configured */
-#define LLVM_CONFIGTIME "Mon Jul 25 15:20:40 CEST 2011"
+#define LLVM_CONFIGTIME "Thu Nov  3 00:22:51 CET 2011"
 
 /* Installation directory for data files */
 #define LLVM_DATADIR "/usr/share/llvm"
@@ -32,8 +32,11 @@
 /* Installation directory for config files */
 #define LLVM_ETCDIR "/usr/etc/llvm"
 
+/* Has gcc/MSVC atomic intrinsics */
+#define LLVM_HAS_ATOMICS 1
+
 /* Host triple we were built on */
-#define LLVM_HOSTTRIPLE "x86_64--netbsd"
+#define LLVM_DEFAULT_TARGET_TRIPLE "x86_64--netbsd"
 
 /* Installation directory for include files */
 #define LLVM_INCLUDEDIR "/usr/include"
@@ -47,27 +50,24 @@
 /* Installation directory for man pages */
 #define LLVM_MANDIR "/usr/man"
 
-/* Build multithreading support into LLVM */
-#define LLVM_MULTITHREADED 1
-
 /* LLVM architecture name for the native architecture, if available */
 #define LLVM_NATIVE_ARCH X86
 
+/* LLVM name for the native AsmParser init function, if available */
+#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
+
+/* LLVM name for the native AsmPrinter init function, if available */
+#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
+
 /* LLVM name for the native Target init function, if available */
 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target
 
 /* LLVM name for the native TargetInfo init function, if available */
 #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo
 
-/* LLVM name for the native TargetMC init function, if available */
+/* LLVM name for the native target MC init function, if available */
 #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC
 
-/* LLVM name for the native AsmPrinter init function, if available */
-#define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter
-
-/* LLVM name for the native AsmPrinter init function, if available */
-#define LLVM_NATIVE_ASMPARSER LLVMInitializeX86AsmParser
-
 /* Define if this is Unixish platform */
 #define LLVM_ON_UNIX 1
 
@@ -98,6 +98,9 @@
 /* Define to path to twopi program if found or 'echo twopi' otherwise */
 /* #undef LLVM_PATH_TWOPI */
 
+/* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */
+/* #undef LLVM_PATH_XDOT_PY */
+
 /* Installation prefix directory */
 #define LLVM_PREFIX "/usr"
 
diff -r 81f0aadf80af -r df410cbd589c external/bsd/llvm/lib/Makefile
--- a/external/bsd/llvm/lib/Makefile    Thu Nov 03 15:13:02 2011 +0000
+++ b/external/bsd/llvm/lib/Makefile    Thu Nov 03 17:52:53 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2011/10/11 13:53:58 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2011/11/03 17:52:53 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -16,6 +16,7 @@
        libLLVMInstrumentation \
        libLLVMipa \
        libLLVMipo \
+       libLLVMLinker \
        libLLVMMC \
        libLLVMMCDisassembler \
        libLLVMMCParser \
@@ -74,7 +75,6 @@
        libLLVMHello \
        libLLVMInterpreter \
        libLLVMJIT \
-       libLLVMLinker \
        libLLVMMCJIT \
        libLLVMObject \
        libLLVMRuntimeDyld
diff -r 81f0aadf80af -r df410cbd589c external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile  Thu Nov 03 15:13:02 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile  Thu Nov 03 17:52:53 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2011/10/11 13:53:58 joerg Exp $
+#      $NetBSD: Makefile,v 1.7 2011/11/03 17:52:53 joerg Exp $
 
 LIB=   LLVMARMCodeGen
 
@@ -16,7 +16,6 @@
        ARMExpandPseudoInsts.cpp \
        ARMFastISel.cpp \
        ARMFrameLowering.cpp \
-       ARMGlobalMerge.cpp \
        ARMHazardRecognizer.cpp \
        ARMISelDAGToDAG.cpp \
        ARMISelLowering.cpp \
diff -r 81f0aadf80af -r df410cbd589c external/bsd/llvm/lib/libLLVMCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMCodeGen/Makefile     Thu Nov 03 15:13:02 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMCodeGen/Makefile     Thu Nov 03 17:52:53 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2011/10/11 13:53:58 joerg Exp $
+#      $NetBSD: Makefile,v 1.9 2011/11/03 17:52:53 joerg Exp $
 
 LIB=   LLVMCodeGen
 
@@ -45,6 +45,7 @@
        MachineBasicBlock.cpp \
        MachineBranchProbabilityInfo.cpp \
        MachineBlockFrequencyInfo.cpp \
+       MachineBlockPlacement.cpp \
        MachineCSE.cpp \
        MachineDominators.cpp \
        MachineFunction.cpp \
diff -r 81f0aadf80af -r df410cbd589c external/bsd/llvm/lib/libLLVMLinker/Makefile
--- a/external/bsd/llvm/lib/libLLVMLinker/Makefile      Thu Nov 03 15:13:02 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMLinker/Makefile      Thu Nov 03 17:52:53 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2011/02/06 01:13:58 joerg Exp $
+#      $NetBSD: Makefile,v 1.2 2011/11/03 17:52:53 joerg Exp $
 
 LIB=   LLVMLinker
 
@@ -11,4 +11,8 @@
        LinkModules.cpp \
        Linker.cpp
 
+.if defined(HOSTLIB)
+.include <bsd.hostlib.mk>
+.else
 .include <bsd.lib.mk>
+.endif
diff -r 81f0aadf80af -r df410cbd589c external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Thu Nov 03 15:13:02 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Thu Nov 03 17:52:53 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2011/07/25 16:32:44 joerg Exp $
+#      $NetBSD: Makefile,v 1.5 2011/11/03 17:52:54 joerg Exp $
 
 LIB=   LLVMMipsCodeGen
 
@@ -30,6 +30,7 @@
        MipsGenRegisterInfo.inc|-gen-register-info \
        MipsGenInstrInfo.inc|-gen-instr-info \
        MipsGenAsmWriter.inc|-gen-asm-writer \
+       MipsGenCodeEmitter.inc|-gen-emitter \
        MipsGenDAGISel.inc|-gen-dag-isel \
        MipsGenCallingConv.inc|-gen-callingconv \
        MipsGenSubtargetInfo.inc|-gen-subtarget
diff -r 81f0aadf80af -r df410cbd589c external/bsd/llvm/lib/libLLVMScalarOpts/Makefile
--- a/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile  Thu Nov 03 15:13:02 2011 +0000
+++ b/external/bsd/llvm/lib/libLLVMScalarOpts/Makefile  Thu Nov 03 17:52:53 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2011/09/01 12:24:36 joerg Exp $
+#      $NetBSD: Makefile,v 1.5 2011/11/03 17:52:54 joerg Exp $
 
 LIB=   LLVMScalarOpts
 
@@ -14,6 +14,7 @@
        DCE.cpp \
        DeadStoreElimination.cpp \
        EarlyCSE.cpp \
+       GlobalMerge.cpp \
        GVN.cpp \
        IndVarSimplify.cpp \
        JumpThreading.cpp \



Home | Main Index | Thread Index | Old Index