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:
parent
6873db4871
commit
1cb60d627b
6
external/bsd/llvm/Makefile.inc
vendored
6
external/bsd/llvm/Makefile.inc
vendored
@ -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)
|
.if !defined(LLVM_TOPLEVEL_MK)
|
||||||
LLVM_TOPLEVEL_MK=
|
LLVM_TOPLEVEL_MK=
|
||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
LLVM_REVISION= 134438
|
LLVM_REVISION= 134635
|
||||||
CLANG_REVISION= 134438
|
CLANG_REVISION= 134635
|
||||||
|
|
||||||
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
|
LLVM_SRCDIR:= ${.PARSEDIR}/dist/llvm
|
||||||
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
|
CLANG_SRCDIR:= ${.PARSEDIR}/dist/clang
|
||||||
|
3
external/bsd/llvm/bin/clang/Makefile
vendored
3
external/bsd/llvm/bin/clang/Makefile
vendored
@ -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
|
PROG_CXX= clang
|
||||||
NOMAN= yes
|
NOMAN= yes
|
||||||
@ -40,6 +40,7 @@ LLVM_LIBS+= \
|
|||||||
BitWriter \
|
BitWriter \
|
||||||
ARMCodeGen \
|
ARMCodeGen \
|
||||||
ARMTargetInfo \
|
ARMTargetInfo \
|
||||||
|
ARMMCTargetDesc \
|
||||||
ARMAsmParser \
|
ARMAsmParser \
|
||||||
ARMAsmPrinter \
|
ARMAsmPrinter \
|
||||||
MipsCodeGen \
|
MipsCodeGen \
|
||||||
|
3
external/bsd/llvm/bin/llc/Makefile
vendored
3
external/bsd/llvm/bin/llc/Makefile
vendored
@ -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
|
PROG_CXX= llc
|
||||||
NOMAN= yes
|
NOMAN= yes
|
||||||
@ -15,6 +15,7 @@ LLVM_LIBS+= \
|
|||||||
BitReader \
|
BitReader \
|
||||||
ARMCodeGen \
|
ARMCodeGen \
|
||||||
ARMTargetInfo \
|
ARMTargetInfo \
|
||||||
|
ARMMCTargetDesc \
|
||||||
ARMAsmParser \
|
ARMAsmParser \
|
||||||
ARMAsmPrinter \
|
ARMAsmPrinter \
|
||||||
MipsCodeGen \
|
MipsCodeGen \
|
||||||
|
3
external/bsd/llvm/bin/llvm-mc/Makefile
vendored
3
external/bsd/llvm/bin/llvm-mc/Makefile
vendored
@ -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
|
PROG_CXX= llvm-mc
|
||||||
NOMAN= yes
|
NOMAN= yes
|
||||||
@ -14,6 +14,7 @@ LLVM_LIBS+= \
|
|||||||
MCDisassembler \
|
MCDisassembler \
|
||||||
ARMCodeGen \
|
ARMCodeGen \
|
||||||
ARMTargetInfo \
|
ARMTargetInfo \
|
||||||
|
ARMMCTargetDesc \
|
||||||
ARMAsmParser \
|
ARMAsmParser \
|
||||||
ARMAsmPrinter \
|
ARMAsmPrinter \
|
||||||
ARMDisassembler \
|
ARMDisassembler \
|
||||||
|
3
external/bsd/llvm/lib/Makefile
vendored
3
external/bsd/llvm/lib/Makefile
vendored
@ -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>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
@ -36,6 +36,7 @@ SUBDIR+= \
|
|||||||
libLLVMARMAsmParser \
|
libLLVMARMAsmParser \
|
||||||
libLLVMARMAsmPrinter \
|
libLLVMARMAsmPrinter \
|
||||||
libLLVMARMDisassembler \
|
libLLVMARMDisassembler \
|
||||||
|
libLLVMARMMCTargetDesc \
|
||||||
libLLVMARMTargetInfo
|
libLLVMARMTargetInfo
|
||||||
|
|
||||||
SUBDIR+= \
|
SUBDIR+= \
|
||||||
|
18
external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile
vendored
Normal file
18
external/bsd/llvm/lib/libLLVMARMMCTargetDesc/Makefile
vendored
Normal 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
|
@ -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
|
LIB= LLVMMipsCodeGen
|
||||||
|
|
||||||
@ -15,6 +15,8 @@ SRCS+= MipsAsmPrinter.cpp \
|
|||||||
MipsISelLowering.cpp \
|
MipsISelLowering.cpp \
|
||||||
MipsFrameLowering.cpp \
|
MipsFrameLowering.cpp \
|
||||||
MipsMCAsmInfo.cpp \
|
MipsMCAsmInfo.cpp \
|
||||||
|
MipsMCInstLower.cpp \
|
||||||
|
MipsMCSymbolRefExpr.cpp \
|
||||||
MipsRegisterInfo.cpp \
|
MipsRegisterInfo.cpp \
|
||||||
MipsSubtarget.cpp \
|
MipsSubtarget.cpp \
|
||||||
MipsTargetMachine.cpp \
|
MipsTargetMachine.cpp \
|
||||||
|
@ -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
|
LIB= LLVMTransformsUtils
|
||||||
|
|
||||||
@ -21,6 +21,7 @@ SRCS+= AddrModeMatcher.cpp \
|
|||||||
Local.cpp \
|
Local.cpp \
|
||||||
LoopSimplify.cpp \
|
LoopSimplify.cpp \
|
||||||
LoopUnroll.cpp \
|
LoopUnroll.cpp \
|
||||||
|
LowerExpectIntrinsic.cpp \
|
||||||
LowerInvoke.cpp \
|
LowerInvoke.cpp \
|
||||||
LowerSwitch.cpp \
|
LowerSwitch.cpp \
|
||||||
Mem2Reg.cpp \
|
Mem2Reg.cpp \
|
||||||
|
@ -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
|
LIB= LLVMX86MCTargetDesc
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ LIB= LLVMX86MCTargetDesc
|
|||||||
X86_OBJDIR!= cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR}
|
X86_OBJDIR!= cd ${.CURDIR}/../libLLVMX86CodeGen && ${PRINTOBJDIR}
|
||||||
CPPFLAGS+= -I${X86_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/X86
|
CPPFLAGS+= -I${X86_OBJDIR} -I${LLVM_SRCDIR}/lib/Target/X86
|
||||||
|
|
||||||
SRCS+= X86TargetDesc.cpp
|
SRCS+= X86MCTargetDesc.cpp
|
||||||
|
|
||||||
.if defined(HOSTLIB)
|
.if defined(HOSTLIB)
|
||||||
.include <bsd.hostlib.mk>
|
.include <bsd.hostlib.mk>
|
||||||
|
3
tools/llvm-lib/libLLVMARMMCTargetDesc/Makefile
Normal file
3
tools/llvm-lib/libLLVMARMMCTargetDesc/Makefile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# $NetBSD: Makefile,v 1.1 2011/07/07 21:59:14 joerg Exp $
|
||||||
|
|
||||||
|
.include <bsd.init.mk>
|
Loading…
Reference in New Issue
Block a user