Update LLVM/Clang snapshot to r134635. This reduces the memory usage in

preprocessor heavy code and recognizes mipseb as alias for mips.
This commit is contained in:
joerg 2011-07-07 21:59:14 +00:00
parent 6873db4871
commit 1cb60d627b
10 changed files with 39 additions and 11 deletions

View File

@ -1,12 +1,12 @@
# $NetBSD: Makefile.inc,v 1.14 2011/07/05 23:02:31 joerg Exp $
# $NetBSD: Makefile.inc,v 1.15 2011/07/07 21:59:14 joerg Exp $
.if !defined(LLVM_TOPLEVEL_MK)
LLVM_TOPLEVEL_MK=
.include <bsd.own.mk>
LLVM_REVISION= 134438
CLANG_REVISION= 134438
LLVM_REVISION= 134635
CLANG_REVISION= 134635
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2011/07/05 19:37:10 joerg Exp $
# $NetBSD: Makefile,v 1.11 2011/07/07 21:59:14 joerg Exp $
PROG_CXX= clang
NOMAN= yes
@ -40,6 +40,7 @@ LLVM_LIBS+= \
BitWriter \
ARMCodeGen \
ARMTargetInfo \
ARMMCTargetDesc \
ARMAsmParser \
ARMAsmPrinter \
MipsCodeGen \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2011/07/05 19:37:10 joerg Exp $
# $NetBSD: Makefile,v 1.7 2011/07/07 21:59:14 joerg Exp $
PROG_CXX= llc
NOMAN= yes
@ -15,6 +15,7 @@ LLVM_LIBS+= \
BitReader \
ARMCodeGen \
ARMTargetInfo \
ARMMCTargetDesc \
ARMAsmParser \
ARMAsmPrinter \
MipsCodeGen \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2011/07/05 19:37:10 joerg Exp $
# $NetBSD: Makefile,v 1.7 2011/07/07 21:59:15 joerg Exp $
PROG_CXX= llvm-mc
NOMAN= yes
@ -14,6 +14,7 @@ LLVM_LIBS+= \
MCDisassembler \
ARMCodeGen \
ARMTargetInfo \
ARMMCTargetDesc \
ARMAsmParser \
ARMAsmPrinter \
ARMDisassembler \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2011/07/07 21:46:50 joerg Exp $
# $NetBSD: Makefile,v 1.13 2011/07/07 21:59:15 joerg Exp $
.include <bsd.own.mk>
@ -36,6 +36,7 @@ SUBDIR+= \
libLLVMARMAsmParser \
libLLVMARMAsmPrinter \
libLLVMARMDisassembler \
libLLVMARMMCTargetDesc \
libLLVMARMTargetInfo
SUBDIR+= \

View File

@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.1 2011/07/07 21:59:15 joerg Exp $
LIB= LLVMARMMCTargetDesc
.include <bsd.init.mk>
.PATH: ${LLVM_SRCDIR}/lib/Target/ARM/MCTargetDesc
ARM_OBJDIR!= cd ${.CURDIR}/../libLLVMARMCodeGen && ${PRINTOBJDIR}
CPPFLAGS+= -I${ARM_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/ARM
SRCS+= ARMMCTargetDesc.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>
.else
.include <bsd.lib.mk>
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/07/05 19:37:11 joerg Exp $
# $NetBSD: Makefile,v 1.2 2011/07/07 21:59:15 joerg Exp $
LIB= LLVMMipsCodeGen
@ -15,6 +15,8 @@ SRCS+= MipsAsmPrinter.cpp \
MipsISelLowering.cpp \
MipsFrameLowering.cpp \
MipsMCAsmInfo.cpp \
MipsMCInstLower.cpp \
MipsMCSymbolRefExpr.cpp \
MipsRegisterInfo.cpp \
MipsSubtarget.cpp \
MipsTargetMachine.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2011/07/04 16:10:40 joerg Exp $
# $NetBSD: Makefile,v 1.3 2011/07/07 21:59:15 joerg Exp $
LIB= LLVMTransformsUtils
@ -21,6 +21,7 @@ SRCS+= AddrModeMatcher.cpp \
Local.cpp \
LoopSimplify.cpp \
LoopUnroll.cpp \
LowerExpectIntrinsic.cpp \
LowerInvoke.cpp \
LowerSwitch.cpp \
Mem2Reg.cpp \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/07/04 16:10:40 joerg Exp $
# $NetBSD: Makefile,v 1.2 2011/07/07 21:59:15 joerg Exp $
LIB= LLVMX86MCTargetDesc
@ -9,7 +9,7 @@ LIB= LLVMX86MCTargetDesc
X86_OBJDIR!= cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR}
CPPFLAGS+= -I${X86_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/X86
SRCS+= X86TargetDesc.cpp
SRCS+= X86MCTargetDesc.cpp
.if defined(HOSTLIB)
.include <bsd.hostlib.mk>

View File

@ -0,0 +1,3 @@
# $NetBSD: Makefile,v 1.1 2011/07/07 21:59:14 joerg Exp $
.include <bsd.init.mk>