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 r166772. Now builds without RT...



details:   https://anonhg.NetBSD.org/src/rev/71406fcab050
branches:  trunk
changeset: 782328:71406fcab050
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Oct 28 17:07:44 2012 +0000

description:
Update LLVM/Clang snapshot to r166772. Now builds without RTTI and
exceptions. Also features the first round of a loop vectorizer.

diffstat:

 distrib/sets/lists/comp/md.amd64                              |   3 +-
 distrib/sets/lists/comp/md.i386                               |   3 +-
 external/bsd/llvm/Makefile.inc                                |   8 +-
 external/bsd/llvm/bin/opt/Makefile                            |  33 +++++++++-
 external/bsd/llvm/bin/tblgen/Makefile                         |   3 +-
 external/bsd/llvm/include/Makefile                            |   3 +-
 external/bsd/llvm/lib/libLLVMAnalysis/Makefile                |   3 +-
 external/bsd/llvm/lib/libLLVMCore/Makefile                    |   6 +-
 external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile             |   4 +-
 external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile        |   3 +-
 external/bsd/llvm/lib/libLLVMTableGen/Makefile                |   3 +-
 external/bsd/llvm/lib/libLLVMTarget/Makefile                  |   6 +-
 external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile         |   3 +-
 external/bsd/llvm/lib/libLLVMVectorize/Makefile               |   3 +-
 external/bsd/llvm/lib/libLLVMipo/Makefile                     |   3 +-
 external/bsd/llvm/lib/libclangSema/Makefile                   |   4 +-
 external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile |   5 +-
 external/bsd/llvm/lib/libclangTooling/Makefile                |   3 +-
 18 files changed, 69 insertions(+), 30 deletions(-)

diffs (truncated from 405 to 300 lines):

diff -r 1af8899e23d1 -r 71406fcab050 distrib/sets/lists/comp/md.amd64
--- a/distrib/sets/lists/comp/md.amd64  Sun Oct 28 17:06:40 2012 +0000
+++ b/distrib/sets/lists/comp/md.amd64  Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.177 2012/09/16 18:59:25 tls Exp $
+# $NetBSD: md.amd64,v 1.178 2012/10/28 17:07:44 joerg Exp $
 ./usr/include/amd64                            comp-c-include
 ./usr/include/amd64/ansi.h                     comp-c-include
 ./usr/include/amd64/aout_machdep.h             comp-c-include
@@ -92,6 +92,7 @@
 ./usr/include/clang-3.2/bmi2intrin.h           comp-c-include          llvm
 ./usr/include/clang-3.2/bmiintrin.h            comp-c-include          llvm
 ./usr/include/clang-3.2/emmintrin.h            comp-c-include          llvm
+./usr/include/clang-3.2/f16cintrin.h           comp-c-include          llvm
 ./usr/include/clang-3.2/fma4intrin.h           comp-c-include          llvm
 ./usr/include/clang-3.2/fmaintrin.h            comp-c-include          llvm
 ./usr/include/clang-3.2/immintrin.h            comp-c-include          llvm
diff -r 1af8899e23d1 -r 71406fcab050 distrib/sets/lists/comp/md.i386
--- a/distrib/sets/lists/comp/md.i386   Sun Oct 28 17:06:40 2012 +0000
+++ b/distrib/sets/lists/comp/md.i386   Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.i386,v 1.127 2012/08/29 17:13:21 drochner Exp $
+# $NetBSD: md.i386,v 1.128 2012/10/28 17:07:44 joerg Exp $
 ./usr/include/clang-3.0/avxintrin.h            comp-obsolete           obsolete
 ./usr/include/clang-3.0/avx2intrin.h           comp-obsolete           obsolete
 ./usr/include/clang-3.0/bmi2intrin.h           comp-obsolete           obsolete
@@ -24,6 +24,7 @@
 ./usr/include/clang-3.2/bmi2intrin.h           comp-c-include          llvm
 ./usr/include/clang-3.2/bmiintrin.h            comp-c-include          llvm
 ./usr/include/clang-3.2/emmintrin.h            comp-c-include          llvm
+./usr/include/clang-3.2/f16cintrin.h           comp-c-include          llvm
 ./usr/include/clang-3.2/fma4intrin.h           comp-c-include          llvm
 ./usr/include/clang-3.2/fmaintrin.h            comp-c-include          llvm
 ./usr/include/clang-3.2/immintrin.h            comp-c-include          llvm
diff -r 1af8899e23d1 -r 71406fcab050 external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc    Sun Oct 28 17:06:40 2012 +0000
+++ b/external/bsd/llvm/Makefile.inc    Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.41 2012/09/23 17:22:22 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.42 2012/10/28 17:07:44 joerg Exp $
 
 .if !defined(LLVM_TOPLEVEL_MK)
 LLVM_TOPLEVEL_MK=
@@ -7,7 +7,7 @@
 
 SVN_ROOT=              http://llvm.org/svn/llvm-project
 
-COMMON_REVISION=       164464
+COMMON_REVISION=       166772
 LLVM_REVISION=         ${COMMON_REVISION}
 CLANG_REVISION=                ${COMMON_REVISION}
 COMPILER_RT_REVISION=  ${COMMON_REVISION}
@@ -30,11 +30,13 @@
 LLVM_INCLUDE_OBJDIR!=  cd ${NETBSDSRCDIR}/tools/llvm-include && ${PRINTOBJDIR}
 LLVM_TOOLCONF_OBJDIR!= cd ${NETBSDSRCDIR}/tools/llvm && ${PRINTOBJDIR}
 HOST_CPPFLAGS+=        ${CPPFLAGS}
-HOST_CXXFLAGS+=        -O2 -g
+HOST_CXXFLAGS+=        -O2 -g -fno-rtti -fno-exceptions
 .else
 LLVM_INCLUDE_CONFIG=   ${LLVM_TOPLEVEL}/config
 CLANG_INCLUDE_CONFIG=  ${LLVM_TOPLEVEL}/config
 LLVM_INCLUDE_OBJDIR!=  cd ${LLVM_TOPLEVEL}/include && ${PRINTOBJDIR}
+
+CXXFLAGS+=     -fno-rtti -fno-exceptions
 .endif
 CPPFLAGS+=     -I${LLVM_INCLUDE_OBJDIR} -I${LLVM_INCLUDE_CONFIG} \
                -I${CLANG_INCLUDE_CONFIG}
diff -r 1af8899e23d1 -r 71406fcab050 external/bsd/llvm/bin/opt/Makefile
--- a/external/bsd/llvm/bin/opt/Makefile        Sun Oct 28 17:06:40 2012 +0000
+++ b/external/bsd/llvm/bin/opt/Makefile        Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2012/04/04 10:42:01 joerg Exp $
+#      $NetBSD: Makefile,v 1.4 2012/10/28 17:07:45 joerg Exp $
 
 PROG_CXX=      opt
 NOMAN=         yes
@@ -13,17 +13,40 @@
        opt.cpp
 
 LLVM_LIBS+= \
+       ipo \
        AsmParser \
        BitReader \
        BitWriter \
+       ARMCodeGen \
+       ARMTargetInfo \
+       ARMMCTargetDesc \
+       ARMAsmPrinter \
+       MipsCodeGen \
+       MipsTargetInfo \
+       MipsMCTargetDesc \
+       MipsAsmPrinter \
+       PowerPCCodeGen \
+       PowerPCTargetInfo \
+       PowerPCMCTargetDesc \
+       PowerPCAsmPrinter \
+       SparcCodeGen \
+       SparcTargetInfo \
+       SparcMCTargetDesc \
+       X86CodeGen \
+       X86MCTargetDesc \
+       X86TargetInfo \
+       X86Utils \
+       X86AsmPrinter \
+       SelectionDAG \
+       CodeGen \
+       Vectorize \
+       Target \
        InstCombine \
        Instrumentation \
-       ipo \
-       Vectorize \
        ScalarOpts \
+       Analysis \
+       MC \
        TransformsUtils \
-       Analysis \
-       Target \
        ipa \
        Core \
        Support
diff -r 1af8899e23d1 -r 71406fcab050 external/bsd/llvm/bin/tblgen/Makefile
--- a/external/bsd/llvm/bin/tblgen/Makefile     Sun Oct 28 17:06:40 2012 +0000
+++ b/external/bsd/llvm/bin/tblgen/Makefile     Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.14 2012/08/09 14:37:06 joerg Exp $
+#      $NetBSD: Makefile,v 1.15 2012/10/28 17:07:45 joerg Exp $
 
 PROG_CXX=      llvm-tblgen
 NOMAN=         yes
@@ -14,6 +14,7 @@
        CodeEmitterGen.cpp \
        CodeGenDAGPatterns.cpp \
        CodeGenInstruction.cpp \
+       CodeGenMapTable.cpp \
        CodeGenRegisters.cpp \
        CodeGenSchedule.cpp \
        CodeGenTarget.cpp \
diff -r 1af8899e23d1 -r 71406fcab050 external/bsd/llvm/include/Makefile
--- a/external/bsd/llvm/include/Makefile        Sun Oct 28 17:06:40 2012 +0000
+++ b/external/bsd/llvm/include/Makefile        Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2012/09/23 17:22:23 joerg Exp $
+#      $NetBSD: Makefile,v 1.14 2012/10/28 17:07:45 joerg Exp $
 
 .include <bsd.init.mk>
 
@@ -11,6 +11,7 @@
        bmi2intrin.h \
        bmiintrin.h \
        emmintrin.h \
+       f16cintrin.h \
        fmaintrin.h \
        fma4intrin.h \
        immintrin.h \
diff -r 1af8899e23d1 -r 71406fcab050 external/bsd/llvm/lib/libLLVMAnalysis/Makefile
--- a/external/bsd/llvm/lib/libLLVMAnalysis/Makefile    Sun Oct 28 17:06:40 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMAnalysis/Makefile    Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2012/09/23 17:22:23 joerg Exp $
+#      $NetBSD: Makefile,v 1.9 2012/10/28 17:07:45 joerg Exp $
 
 LIB=   LLVMAnalysis
 
@@ -20,6 +20,7 @@
        CodeMetrics.cpp \
        ConstantFolding.cpp \
        DbgInfoPrinter.cpp \
+       DependenceAnalysis.cpp \
        DomPrinter.cpp \
        DominanceFrontier.cpp \
        IVUsers.cpp \
diff -r 1af8899e23d1 -r 71406fcab050 external/bsd/llvm/lib/libLLVMCore/Makefile
--- a/external/bsd/llvm/lib/libLLVMCore/Makefile        Sun Oct 28 17:06:40 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMCore/Makefile        Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2012/08/09 14:37:06 joerg Exp $
+#      $NetBSD: Makefile,v 1.9 2012/10/28 17:07:45 joerg Exp $
 
 LIB=   LLVMCore
 
@@ -13,8 +13,9 @@
        ConstantFold.cpp \
        Constants.cpp \
        Core.cpp \
+       DIBuilder.cpp \
+       DataLayout.cpp \
        DebugInfo.cpp \
-       DIBuilder.cpp \
        DebugLoc.cpp \
        Dominators.cpp \
        Function.cpp \
@@ -35,6 +36,7 @@
        PassManager.cpp \
        PassRegistry.cpp \
        PrintModulePass.cpp \
+       TargetTransformInfo.cpp \
        Type.cpp \
        TypeFinder.cpp \
        Use.cpp \
diff -r 1af8899e23d1 -r 71406fcab050 external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Sun Oct 28 17:06:40 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2012/09/23 17:22:23 joerg Exp $
+#      $NetBSD: Makefile,v 1.13 2012/10/28 17:07:45 joerg Exp $
 
 LIB=   LLVMMipsCodeGen
 
@@ -13,7 +13,6 @@
        MipsAsmPrinter.cpp \
        MipsCodeEmitter.cpp \
        MipsDelaySlotFiller.cpp \
-       MipsDirectObjLower.cpp \
        MipsELFWriterInfo.cpp \
        MipsFrameLowering.cpp \
        MipsInstrInfo.cpp \
@@ -45,6 +44,7 @@
        MipsGenDisassemblerTables.inc|-gen-disassembler \
        MipsGenEDInfo.inc|-gen-enhanced-disassembly-info \
        MipsGenMCCodeEmitter.inc|-gen-emitter^-mc-emitter \
+       MipsGenMCPseudoLowering.inc|-gen-pseudo-lowering \
        MipsGenSubtargetInfo.inc|-gen-subtarget
 
 .include "${.PARSEDIR}/../../tablegen.mk"
diff -r 1af8899e23d1 -r 71406fcab050 external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile
--- a/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile    Sun Oct 28 17:06:40 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile    Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2012/01/11 23:24:47 joerg Exp $
+#      $NetBSD: Makefile,v 1.4 2012/10/28 17:07:46 joerg Exp $
 
 LIB=   LLVMMipsMCTargetDesc
 
@@ -10,6 +10,7 @@
 .PATH: ${LLVM_SRCDIR}/lib/Target/Mips/MCTargetDesc
 
 SRCS+= MipsAsmBackend.cpp \
+       MipsDirectObjLower.cpp \
        MipsELFObjectWriter.cpp \
        MipsMCAsmInfo.cpp \
        MipsMCCodeEmitter.cpp \
diff -r 1af8899e23d1 -r 71406fcab050 external/bsd/llvm/lib/libLLVMTableGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMTableGen/Makefile    Sun Oct 28 17:06:40 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMTableGen/Makefile    Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2012/05/29 19:31:52 joerg Exp $
+#      $NetBSD: Makefile,v 1.4 2012/10/28 17:07:46 joerg Exp $
 
 LIB=   LLVMTableGen
 
@@ -10,7 +10,6 @@
        Main.cpp \
        Record.cpp \
        StringMatcher.cpp \
-       TableGenAction.cpp \
        TableGenBackend.cpp \
        TGLexer.cpp \
        TGParser.cpp
diff -r 1af8899e23d1 -r 71406fcab050 external/bsd/llvm/lib/libLLVMTarget/Makefile
--- a/external/bsd/llvm/lib/libLLVMTarget/Makefile      Sun Oct 28 17:06:40 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMTarget/Makefile      Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2012/04/14 15:11:18 joerg Exp $
+#      $NetBSD: Makefile,v 1.9 2012/10/28 17:07:46 joerg Exp $
 
 LIB=   LLVMTarget
 
@@ -8,7 +8,6 @@
 
 SRCS+= Mangler.cpp \
        Target.cpp \
-       TargetData.cpp \
        TargetELFWriterInfo.cpp \
        TargetInstrInfo.cpp \
        TargetIntrinsicInfo.cpp \
@@ -18,7 +17,8 @@
        TargetMachine.cpp \
        TargetMachineC.cpp \
        TargetRegisterInfo.cpp \
-       TargetSubtargetInfo.cpp
+       TargetSubtargetInfo.cpp \
+       TargetTransformImpl.cpp
 
 .if defined(HOSTLIB)
 .include <bsd.hostlib.mk>
diff -r 1af8899e23d1 -r 71406fcab050 external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile
--- a/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile     Sun Oct 28 17:06:40 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMTransformsUtils/Makefile     Sun Oct 28 17:07:44 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2012/09/23 17:22:24 joerg Exp $
+#      $NetBSD: Makefile,v 1.10 2012/10/28 17:07:46 joerg Exp $
 
 LIB=   LLVMTransformsUtils
 
@@ -35,6 +35,7 @@
        SimplifyCFG.cpp \
        SimplifyIndVar.cpp \
        SimplifyInstructions.cpp \
+       SimplifyLibCalls.cpp \



Home | Main Index | Thread Index | Old Index