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 r147888. Most importantly, thi...
details: https://anonhg.NetBSD.org/src/rev/e532a4fb7838
branches: trunk
changeset: 772692:e532a4fb7838
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Jan 11 23:24:46 2012 +0000
description:
Update LLVM/Clang snapshot to r147888. Most importantly, this fixes a
number of ABI issues for i386 and provides the correct
__FLT_EVAL_METHOD__ when using i387.
diffstat:
distrib/sets/lists/comp/md.amd64 | 11 ++++++++-
distrib/sets/lists/comp/md.i386 | 11 ++++++++-
external/bsd/llvm/Makefile.inc | 7 +++--
external/bsd/llvm/bin/tblgen/Makefile | 3 +-
external/bsd/llvm/config/llvm/Config/config.h | 2 +
external/bsd/llvm/config/llvm/Config/llvm-config.h | 2 +
external/bsd/llvm/include/Makefile | 13 +++++++++-
external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMCodeGen/Makefile | 8 +++---
external/bsd/llvm/lib/libLLVMJIT/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMMC/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMMCJIT/Makefile | 5 ++-
external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMMipsMCTargetDesc/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMPowerPCCodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMPowerPCMCTargetDesc/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMSparcCodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMSupport/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMTableGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMTarget/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMX86CodeGen/Makefile | 3 +-
external/bsd/llvm/lib/libLLVMX86MCTargetDesc/Makefile | 6 +++-
external/bsd/llvm/lib/libclangAnalysis/Makefile | 3 +-
external/bsd/llvm/lib/libclangFrontend/Makefile | 3 +-
external/bsd/llvm/lib/libclangLex/Makefile | 3 +-
external/bsd/llvm/lib/libclangSema/Makefile | 3 +-
external/bsd/llvm/lib/libclangStaticAnalyzerCheckers/Makefile | 5 ++-
external/bsd/llvm/lib/libclangStaticAnalyzerCore/Makefile | 3 +-
29 files changed, 89 insertions(+), 38 deletions(-)
diffs (truncated from 573 to 300 lines):
diff -r 493266bd4fe0 -r e532a4fb7838 distrib/sets/lists/comp/md.amd64
--- a/distrib/sets/lists/comp/md.amd64 Wed Jan 11 21:23:38 2012 +0000
+++ b/distrib/sets/lists/comp/md.amd64 Wed Jan 11 23:24:46 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.148 2012/01/09 15:24:37 dholland Exp $
+# $NetBSD: md.amd64,v 1.149 2012/01/11 23:24:46 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
@@ -68,14 +68,23 @@
./usr/include/amd64/vmparam.h comp-c-include
./usr/include/amd64/wchar_limits.h comp-c-include
./usr/include/clang-3.0/avxintrin.h comp-c-include llvm
+./usr/include/clang-3.0/avx2intrin.h comp-c-include llvm
+./usr/include/clang-3.0/bmi2intrin.h comp-c-include llvm
+./usr/include/clang-3.0/bmiintrin.h comp-c-include llvm
./usr/include/clang-3.0/emmintrin.h comp-c-include llvm
+./usr/include/clang-3.0/fma4intrin.h comp-c-include llvm
./usr/include/clang-3.0/immintrin.h comp-c-include llvm
+./usr/include/clang-3.0/lzcntintrin.h comp-c-include llvm
./usr/include/clang-3.0/mm3dnow.h comp-c-include llvm
./usr/include/clang-3.0/mm_malloc.h comp-c-include llvm
./usr/include/clang-3.0/mmintrin.h comp-c-include llvm
+./usr/include/clang-3.0/nmmintrin.h comp-c-include llvm
./usr/include/clang-3.0/pmmintrin.h comp-c-include llvm
+./usr/include/clang-3.0/popcntintrin.h comp-c-include llvm
./usr/include/clang-3.0/smmintrin.h comp-c-include llvm
./usr/include/clang-3.0/tmmintrin.h comp-c-include llvm
+./usr/include/clang-3.0/wmmintrin.h comp-c-include llvm
+./usr/include/clang-3.0/x86intrin.h comp-c-include llvm
./usr/include/clang-3.0/xmmintrin.h comp-c-include llvm
./usr/include/emmintrin.h comp-obsolete obsolete
./usr/include/gcc-4.1/emmintrin.h comp-c-include gcccmds,gcc=4
diff -r 493266bd4fe0 -r e532a4fb7838 distrib/sets/lists/comp/md.i386
--- a/distrib/sets/lists/comp/md.i386 Wed Jan 11 21:23:38 2012 +0000
+++ b/distrib/sets/lists/comp/md.i386 Wed Jan 11 23:24:46 2012 +0000
@@ -1,13 +1,22 @@
-# $NetBSD: md.i386,v 1.123 2011/08/15 15:14:00 wiz Exp $
+# $NetBSD: md.i386,v 1.124 2012/01/11 23:24:46 joerg Exp $
./usr/include/clang-3.0/avxintrin.h comp-c-include llvm
+./usr/include/clang-3.0/avx2intrin.h comp-c-include llvm
+./usr/include/clang-3.0/bmi2intrin.h comp-c-include llvm
+./usr/include/clang-3.0/bmiintrin.h comp-c-include llvm
./usr/include/clang-3.0/emmintrin.h comp-c-include llvm
+./usr/include/clang-3.0/fma4intrin.h comp-c-include llvm
./usr/include/clang-3.0/immintrin.h comp-c-include llvm
+./usr/include/clang-3.0/lzcntintrin.h comp-c-include llvm
./usr/include/clang-3.0/mm3dnow.h comp-c-include llvm
./usr/include/clang-3.0/mm_malloc.h comp-c-include llvm
./usr/include/clang-3.0/mmintrin.h comp-c-include llvm
+./usr/include/clang-3.0/nmmintrin.h comp-c-include llvm
./usr/include/clang-3.0/pmmintrin.h comp-c-include llvm
+./usr/include/clang-3.0/popcntintrin.h comp-c-include llvm
./usr/include/clang-3.0/smmintrin.h comp-c-include llvm
./usr/include/clang-3.0/tmmintrin.h comp-c-include llvm
+./usr/include/clang-3.0/wmmintrin.h comp-c-include llvm
+./usr/include/clang-3.0/x86intrin.h comp-c-include llvm
./usr/include/clang-3.0/xmmintrin.h comp-c-include llvm
./usr/include/emmintrin.h comp-obsolete obsolete
./usr/include/gcc-4.1/emmintrin.h comp-c-include gcccmds,gcc=4
diff -r 493266bd4fe0 -r e532a4fb7838 external/bsd/llvm/Makefile.inc
--- a/external/bsd/llvm/Makefile.inc Wed Jan 11 21:23:38 2012 +0000
+++ b/external/bsd/llvm/Makefile.inc Wed Jan 11 23:24:46 2012 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile.inc,v 1.27 2011/12/19 14:07:40 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.28 2012/01/11 23:24:46 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
.include <bsd.own.mk>
-LLVM_REVISION= 146851
-CLANG_REVISION= 146851
+LLVM_REVISION= 147888
+CLANG_REVISION= 147888
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
@@ -25,6 +25,7 @@
.else
LLVM_INCLUDE_CONFIG= ${LLVM_TOPLEVEL}/config
LLVM_INCLUDE_OBJDIR!= cd ${LLVM_TOPLEVEL}/include && ${PRINTOBJDIR}
+CPPFLAGS+= -DLLVM_DEFAULT_TARGET_TRIPLE="\"${MACHINE_GNU_PLATFORM}\""
.endif
CPPFLAGS+= -I${LLVM_INCLUDE_OBJDIR} -I${LLVM_INCLUDE_CONFIG}
diff -r 493266bd4fe0 -r e532a4fb7838 external/bsd/llvm/bin/tblgen/Makefile
--- a/external/bsd/llvm/bin/tblgen/Makefile Wed Jan 11 21:23:38 2012 +0000
+++ b/external/bsd/llvm/bin/tblgen/Makefile Wed Jan 11 23:24:46 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2011/12/11 14:58:50 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2012/01/11 23:24:46 joerg Exp $
PROG_CXX= llvm-tblgen
NOMAN= yes
@@ -38,6 +38,7 @@
TGValueTypes.cpp \
TableGen.cpp \
X86DisassemblerTables.cpp \
+ X86ModRMFilters.cpp \
X86RecognizableInstr.cpp
LLVM_LIBS+= \
diff -r 493266bd4fe0 -r e532a4fb7838 external/bsd/llvm/config/llvm/Config/config.h
--- a/external/bsd/llvm/config/llvm/Config/config.h Wed Jan 11 21:23:38 2012 +0000
+++ b/external/bsd/llvm/config/llvm/Config/config.h Wed Jan 11 23:24:46 2012 +0000
@@ -545,7 +545,9 @@
#define LLVM_DATADIR "/usr/share/llvm"
/* Target triple LLVM will generate code for by default */
+#if 0
#define LLVM_DEFAULT_TARGET_TRIPLE "x86_64--netbsd"
+#endif
/* Installation directory for documentation */
#define LLVM_DOCSDIR "/usr/share/doc/llvm"
diff -r 493266bd4fe0 -r e532a4fb7838 external/bsd/llvm/config/llvm/Config/llvm-config.h
--- a/external/bsd/llvm/config/llvm/Config/llvm-config.h Wed Jan 11 21:23:38 2012 +0000
+++ b/external/bsd/llvm/config/llvm/Config/llvm-config.h Wed Jan 11 23:24:46 2012 +0000
@@ -36,7 +36,9 @@
#define LLVM_HAS_ATOMICS 1
/* Host triple we were built on */
+#if 0
#define LLVM_DEFAULT_TARGET_TRIPLE "x86_64--netbsd"
+#endif
/* Installation directory for include files */
#define LLVM_INCLUDEDIR "/usr/include"
diff -r 493266bd4fe0 -r e532a4fb7838 external/bsd/llvm/include/Makefile
--- a/external/bsd/llvm/include/Makefile Wed Jan 11 21:23:38 2012 +0000
+++ b/external/bsd/llvm/include/Makefile Wed Jan 11 23:24:46 2012 +0000
@@ -1,19 +1,28 @@
-# $NetBSD: Makefile,v 1.5 2011/12/11 14:58:50 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2012/01/11 23:24:46 joerg Exp $
.include <bsd.init.mk>
.PATH: ${CLANG_SRCDIR}/lib/Headers
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
-INCS= avxintrin.h \
+INCS= avx2intrin.h \
+ avxintrin.h \
+ bmi2intrin.h \
+ bmiintrin.h \
emmintrin.h \
+ fma4intrin.h \
immintrin.h \
+ lzcntintrin.h \
mm3dnow.h \
mmintrin.h \
mm_malloc.h \
+ nmmintrin.h \
pmmintrin.h \
+ popcntintrin.h \
smmintrin.h \
tmmintrin.h \
+ wmmintrin.h \
+ x86intrin.h \
xmmintrin.h
.elif ${MACHINE_ARCH} == "powerpc"
INCS= altivec.h
diff -r 493266bd4fe0 -r e532a4fb7838 external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile Wed Jan 11 21:23:38 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMCodeGen/Makefile Wed Jan 11 23:24:46 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2011/11/18 15:56:53 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2012/01/11 23:24:47 joerg Exp $
LIB= LLVMARMCodeGen
@@ -23,6 +23,7 @@
ARMJITInfo.cpp \
ARMLoadStoreOptimizer.cpp \
ARMMCInstLower.cpp \
+ ARMMachineFunctionInfo.cpp \
ARMRegisterInfo.cpp \
ARMSelectionDAGInfo.cpp \
ARMSubtarget.cpp \
diff -r 493266bd4fe0 -r e532a4fb7838 external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile
--- a/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile Wed Jan 11 21:23:38 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile Wed Jan 11 23:24:46 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/07/25 16:32:43 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2012/01/11 23:24:47 joerg Exp $
LIB= LLVMARMMCTargetDesc
@@ -10,6 +10,7 @@
CPPFLAGS+= -I${ARM_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/ARM
SRCS+= ARMAsmBackend.cpp \
+ ARMELFObjectWriter.cpp \
ARMMCAsmInfo.cpp \
ARMMCCodeEmitter.cpp \
ARMMCExpr.cpp \
diff -r 493266bd4fe0 -r e532a4fb7838 external/bsd/llvm/lib/libLLVMCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMCodeGen/Makefile Wed Jan 11 21:23:38 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMCodeGen/Makefile Wed Jan 11 23:24:46 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2011/12/19 14:07:40 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2012/01/11 23:24:47 joerg Exp $
LIB= LLVMCodeGen
@@ -18,8 +18,6 @@
DeadMachineInstructionElim.cpp \
DwarfEHPrepare.cpp \
EdgeBundles.cpp \
- ELFCodeEmitter.cpp \
- ELFWriter.cpp \
ExecutionDepsFix.cpp \
ExpandISelPseudos.cpp \
ExpandPostRAPseudos.cpp \
@@ -30,6 +28,7 @@
InlineSpiller.cpp \
InterferenceCache.cpp \
IntrinsicLowering.cpp \
+ JITCodeEmitter.cpp \
LLVMTargetMachine.cpp \
LatencyPriorityQueue.cpp \
LexicalScopes.cpp \
@@ -46,6 +45,8 @@
MachineBranchProbabilityInfo.cpp \
MachineBlockFrequencyInfo.cpp \
MachineBlockPlacement.cpp \
+ MachineCodeEmitter.cpp \
+ MachineCopyPropagation.cpp \
MachineCSE.cpp \
MachineDominators.cpp \
MachineFunction.cpp \
@@ -64,7 +65,6 @@
MachineSSAUpdater.cpp \
MachineSink.cpp \
MachineVerifier.cpp \
- ObjectCodeEmitter.cpp \
OcamlGC.cpp \
OptimizePHIs.cpp \
PHIElimination.cpp \
diff -r 493266bd4fe0 -r e532a4fb7838 external/bsd/llvm/lib/libLLVMJIT/Makefile
--- a/external/bsd/llvm/lib/libLLVMJIT/Makefile Wed Jan 11 21:23:38 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMJIT/Makefile Wed Jan 11 23:24:46 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2011/06/01 14:13:42 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2012/01/11 23:24:47 joerg Exp $
LIB= LLVMJIT
@@ -10,7 +10,6 @@
SRCS+= Intercept.cpp \
JIT.cpp \
- JITDebugRegisterer.cpp \
JITDwarfEmitter.cpp \
JITEmitter.cpp \
JITMemoryManager.cpp \
diff -r 493266bd4fe0 -r e532a4fb7838 external/bsd/llvm/lib/libLLVMMC/Makefile
--- a/external/bsd/llvm/lib/libLLVMMC/Makefile Wed Jan 11 21:23:38 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMMC/Makefile Wed Jan 11 23:24:46 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2011/10/11 13:53:59 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2012/01/11 23:24:47 joerg Exp $
LIB= LLVMMC
@@ -27,7 +27,6 @@
MCInstrAnalysis.cpp \
MCInstPrinter.cpp \
MCLabel.cpp \
- MCLoggingStreamer.cpp \
MCModule.cpp \
MCMachOStreamer.cpp \
MCMachObjectTargetWriter.cpp \
diff -r 493266bd4fe0 -r e532a4fb7838 external/bsd/llvm/lib/libLLVMMCJIT/Makefile
--- a/external/bsd/llvm/lib/libLLVMMCJIT/Makefile Wed Jan 11 21:23:38 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMMCJIT/Makefile Wed Jan 11 23:24:46 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/06/01 14:13:42 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2012/01/11 23:24:47 joerg Exp $
LIB= LLVMMCJIT
@@ -7,6 +7,7 @@
.PATH: ${LLVM_SRCDIR}/lib/ExecutionEngine/MCJIT
SRCS+= Intercept.cpp \
- MCJIT.cpp
+ MCJIT.cpp \
+ MCJITMemoryManager.cpp
.include <bsd.lib.mk>
diff -r 493266bd4fe0 -r e532a4fb7838 external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile
--- a/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Wed Jan 11 21:23:38 2012 +0000
+++ b/external/bsd/llvm/lib/libLLVMMipsCodeGen/Makefile Wed Jan 11 23:24:46 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2011/11/18 15:56:54 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2012/01/11 23:24:47 joerg Exp $
Home |
Main Index |
Thread Index |
Old Index