diff options
author | adam <adam@pkgsrc.org> | 2017-01-05 11:54:32 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-01-05 11:54:32 +0000 |
commit | 0f125743a536fe31997653a55963ca08ab4565d5 (patch) | |
tree | 01de256b0025ac0d17ceb6ad457c713ecce40e49 /lang | |
parent | a0aae06f28961511e30136be72a372d425b64e23 (diff) | |
download | pkgsrc-0f125743a536fe31997653a55963ca08ab4565d5.tar.gz |
Changes 3.9.1:
The LLVMContext gains a new runtime check (see LLVMContext::discardValueNames()) that can be set to discard Value names (other than GlobalValue). This is intended to be used in release builds by clients that are interested in saving CPU/memory as much as possible.
There is no longer a “global context” available in LLVM, except for the C API.
The autoconf build system has been removed in favor of CMake. LLVM 3.9 requires CMake 3.4.3 or later to build. For information about using CMake please see the documentation on Building LLVM with CMake. For information about the CMake language there is also a CMake Primer document available.
C API functions LLVMParseBitcode, LLVMParseBitcodeInContext, LLVMGetBitcodeModuleInContext and LLVMGetBitcodeModule having been removed. LLVMGetTargetMachineData has been removed (use LLVMGetDataLayout instead).
The C API function LLVMLinkModules has been removed.
The C API function LLVMAddTargetData has been removed.
The C API function LLVMGetDataLayout is deprecated in favor of LLVMGetDataLayoutStr.
The C API enum LLVMAttribute and associated API is deprecated in favor of the new LLVMAttributeRef API. The deprecated functions are LLVMAddFunctionAttr, LLVMAddTargetDependentFunctionAttr, LLVMRemoveFunctionAttr, LLVMGetFunctionAttr, LLVMAddAttribute, LLVMRemoveAttribute, LLVMGetAttribute, LLVMAddInstrAttribute, LLVMRemoveInstrAttribute and LLVMSetInstrParamAlignment.
TargetFrameLowering::eliminateCallFramePseudoInstr now returns an iterator to the next instruction instead of void. Targets that previously did MBB.erase(I); return; now probably want return MBB.erase(I);.
SelectionDAGISel::Select now returns void. Out-of-tree targets will need to be updated to replace the argument node and remove any dead nodes in cases where they currently return an SDNode * from this interface.
Added the MemorySSA analysis, which hopes to replace MemoryDependenceAnalysis. It should provide higher-quality results than MemDep, and be algorithmically faster than MemDep. Currently, GVNHoist (which is off by default) makes use of MemorySSA.
The minimum density for lowering switches with jump tables has been reduced from 40% to 10% for functions which are not marked optsize (that is, compiled with -Os).
Diffstat (limited to 'lang')
-rw-r--r-- | lang/clang-static-analyzer/PLIST.Darwin | 2 | ||||
-rw-r--r-- | lang/clang/Makefile.common | 4 | ||||
-rw-r--r-- | lang/clang/PLIST | 3 | ||||
-rw-r--r-- | lang/clang/distinfo | 10 | ||||
-rw-r--r-- | lang/libLLVM/Makefile | 8 | ||||
-rw-r--r-- | lang/libLLVM/distinfo | 10 | ||||
-rw-r--r-- | lang/libunwind/Makefile | 5 | ||||
-rw-r--r-- | lang/libunwind/distinfo | 10 | ||||
-rw-r--r-- | lang/llvm/Makefile | 6 | ||||
-rw-r--r-- | lang/llvm/distinfo | 10 |
10 files changed, 37 insertions, 31 deletions
diff --git a/lang/clang-static-analyzer/PLIST.Darwin b/lang/clang-static-analyzer/PLIST.Darwin new file mode 100644 index 00000000000..805201ff9e3 --- /dev/null +++ b/lang/clang-static-analyzer/PLIST.Darwin @@ -0,0 +1,2 @@ +$NetBSD: PLIST.Darwin,v 1.1 2017/01/05 11:54:32 adam Exp $ +bin/set-xcode-analyzer diff --git a/lang/clang/Makefile.common b/lang/clang/Makefile.common index 4a5b3e5abce..08d0ab22b61 100644 --- a/lang/clang/Makefile.common +++ b/lang/clang/Makefile.common @@ -1,8 +1,8 @@ -# $NetBSD: Makefile.common,v 1.16 2016/12/17 23:28:34 joerg Exp $ +# $NetBSD: Makefile.common,v 1.17 2017/01/05 11:54:32 adam Exp $ # used by lang/clang/Makefile # used by lang/clang-static-analyzer/Makefile -DISTNAME= cfe-3.9.0.src +DISTNAME= cfe-3.9.1.src CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ EXTRACT_SUFX= .tar.xz diff --git a/lang/clang/PLIST b/lang/clang/PLIST index 70fea21c0f6..6202984f8b6 100644 --- a/lang/clang/PLIST +++ b/lang/clang/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.19 2016/11/14 20:15:33 ryoon Exp $ +@comment $NetBSD: PLIST,v 1.20 2017/01/05 11:54:32 adam Exp $ bin/c-index-test bin/clang bin/clang++ @@ -519,6 +519,7 @@ lib/clang/${PKGVERSION}/include/mm3dnow.h lib/clang/${PKGVERSION}/include/mm_malloc.h lib/clang/${PKGVERSION}/include/mmintrin.h lib/clang/${PKGVERSION}/include/module.modulemap +lib/clang/${PKGVERSION}/include/msa.h lib/clang/${PKGVERSION}/include/mwaitxintrin.h lib/clang/${PKGVERSION}/include/nmmintrin.h lib/clang/${PKGVERSION}/include/opencl-c.h diff --git a/lang/clang/distinfo b/lang/clang/distinfo index c9155b642cf..d471f6a0124 100644 --- a/lang/clang/distinfo +++ b/lang/clang/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.45 2016/12/17 23:28:51 joerg Exp $ +$NetBSD: distinfo,v 1.46 2017/01/05 11:54:32 adam Exp $ -SHA1 (cfe-3.9.0.src.tar.xz) = 00d49ee82451130a8e1e7b1d56cffa37b783bcb2 -RMD160 (cfe-3.9.0.src.tar.xz) = a33d18142ce0fd69db59a96b75ffcfd20cef2f2c -SHA512 (cfe-3.9.0.src.tar.xz) = f405b5819fd19276b2de4da80a51171a3b1c5c00df810e1f284184c693e410775fe2933576f942b881664dd3b75e78f0f15b7e5a3eca7819ffbcfe528d9a578e -Size (cfe-3.9.0.src.tar.xz) = 10390440 bytes +SHA1 (cfe-3.9.1.src.tar.xz) = 95e4be54b70f32cf98a8de36821ea5495b84add8 +RMD160 (cfe-3.9.1.src.tar.xz) = 51930c2d55eacd44df28b49a84565771c94f418e +SHA512 (cfe-3.9.1.src.tar.xz) = 3f0eea194597e438bbe49ce9ef5fdced81459c21cbdd2653750b2fe02c55a0154d6a33a8cfd02e607b83314a8e35b2c300f944462120ab6de1d4139d85db56b8 +Size (cfe-3.9.1.src.tar.xz) = 10363080 bytes SHA1 (patch-tools_clang-format_CMakeLists.txt) = 4efc9c9f69caf7df1dd0db384eae644c606c5ca9 diff --git a/lang/libLLVM/Makefile b/lang/libLLVM/Makefile index 1ddb787aad7..096f2b512f9 100644 --- a/lang/libLLVM/Makefile +++ b/lang/libLLVM/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.15 2016/12/20 22:40:06 tnn Exp $ +# $NetBSD: Makefile,v 1.16 2017/01/05 11:54:32 adam Exp $ -DISTNAME= llvm-3.9.0.src +DISTNAME= llvm-3.9.1.src PKGNAME= ${DISTNAME:S/llvm/libLLVM/:S/.src//} CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ @@ -88,6 +88,10 @@ TEST_ENV+= LD_LIBRARY_PATH=${WRKDIR}/build/lib .include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "Darwin" +CMAKE_ARGS+= -DCMAKE_LIBTOOL=/usr/bin/libtool +.endif + # 3.8.0 -> 3.8 LLVM_MAJOR_MINOR= ${PKGVERSION_NOREV:C/^([0-9]+\.[0-9]+)\..*$/\1/} PLIST_SUBST+= LLVM_MAJOR_MINOR=${LLVM_MAJOR_MINOR} diff --git a/lang/libLLVM/distinfo b/lang/libLLVM/distinfo index 410a5544a03..579f52ce4be 100644 --- a/lang/libLLVM/distinfo +++ b/lang/libLLVM/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.6 2016/12/10 22:30:27 maya Exp $ +$NetBSD: distinfo,v 1.7 2017/01/05 11:54:32 adam Exp $ -SHA1 (llvm-3.9.0.src.tar.xz) = da792f11a208d5b994c4fe1c8faa20f90ff0e4a3 -RMD160 (llvm-3.9.0.src.tar.xz) = bbde781a914f6cd7fab3f71745fc576b2e7e23c9 -SHA512 (llvm-3.9.0.src.tar.xz) = f18ae32531218ab156c3e56c11826be0fd05f0799c82eaf2e6a043b38e1277560b4d921987513b88b11d97ea2619feaf277eec72181dd2ae4f4108c2836bf7b2 -Size (llvm-3.9.0.src.tar.xz) = 18235716 bytes +SHA1 (llvm-3.9.1.src.tar.xz) = ce801cf456b8dacd565ce8df8288b4d90e7317ff +RMD160 (llvm-3.9.1.src.tar.xz) = b0a3c68cfec83a2b4dad6922316b71c0dc25c40a +SHA512 (llvm-3.9.1.src.tar.xz) = 50cbe8ee911080f586e77861c442348701bd02e2de0c090c54c34f82ac275ecfcd712af0f41e387c33b4a6057778a4258a27554292fe68ab4af3fd9dd6d90683 +Size (llvm-3.9.1.src.tar.xz) = 18130436 bytes SHA1 (patch-CMakeLists.txt) = 770e0bc00a987430b6c6be7e4141f33e5be54a8f SHA1 (patch-cmake_modules_AddLLVM.cmake) = 1fd7598a55eede8b1ef50556ab8d7277fe5b2f43 SHA1 (patch-cmake_modules_CMakeLists.txt) = bf31e9d3914e2041a7d435390b63ad67282b272f diff --git a/lang/libunwind/Makefile b/lang/libunwind/Makefile index 50bd9c138d3..80a2af9544c 100644 --- a/lang/libunwind/Makefile +++ b/lang/libunwind/Makefile @@ -1,10 +1,9 @@ -# $NetBSD: Makefile,v 1.3 2016/11/14 20:15:33 ryoon Exp $ +# $NetBSD: Makefile,v 1.4 2017/01/05 11:54:32 adam Exp $ -DISTNAME= libunwind-3.9.0.src +DISTNAME= libunwind-3.9.1.src PKGNAME= ${DISTNAME:S/.src//} CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ -#MASTER_SITES= http://llvm.org/pre-releases/3.8.0/rc2/ EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/lang/libunwind/distinfo b/lang/libunwind/distinfo index 713d585217b..4c8c0d77b9d 100644 --- a/lang/libunwind/distinfo +++ b/lang/libunwind/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2016/11/14 20:15:33 ryoon Exp $ +$NetBSD: distinfo,v 1.4 2017/01/05 11:54:32 adam Exp $ -SHA1 (libunwind-3.9.0.src.tar.xz) = dae0d870c3bb6c23a7d86059f3ace0564c4daf12 -RMD160 (libunwind-3.9.0.src.tar.xz) = 0181a9c886032a9a24a35e4286d99bf64917eff6 -SHA512 (libunwind-3.9.0.src.tar.xz) = dce384bea99ed61b363b847e20946fc9d70377389a227cc7054fbaa916e7cb5ba0b9d89f0df6ed33409dbf38beefd3654c18c1abcf0e50b5d0315ce0135a1d25 -Size (libunwind-3.9.0.src.tar.xz) = 61764 bytes +SHA1 (libunwind-3.9.1.src.tar.xz) = 9291fe05c10ca43fb185ef81e10f7cc666d14b5c +RMD160 (libunwind-3.9.1.src.tar.xz) = cdebe5ab20d00a10802270521d453c7b336d6612 +SHA512 (libunwind-3.9.1.src.tar.xz) = a80f5d0660e209f5bf709316b5df2ca63b9f0db49f5f74dfe9c9e580c654f61a15acc071a739fdb84baf5ffa9420b92498f8560331173642d80f6b74e1e2afb7 +Size (libunwind-3.9.1.src.tar.xz) = 61788 bytes diff --git a/lang/llvm/Makefile b/lang/llvm/Makefile index a74d8134a8e..5c2886ac378 100644 --- a/lang/llvm/Makefile +++ b/lang/llvm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2017/01/02 00:03:42 gdt Exp $ +# $NetBSD: Makefile,v 1.12 2017/01/05 11:54:32 adam Exp $ # # when updating this, please also update: # devel/include-what-you-use @@ -9,11 +9,10 @@ # lang/libLLVM # lang/libunwind -DISTNAME= llvm-3.9.0.src +DISTNAME= llvm-3.9.1.src PKGNAME= ${DISTNAME:S/.src//} CATEGORIES= lang devel MASTER_SITES= http://llvm.org/releases/${PKGVERSION_NOREV}/ -#MASTER_SITES= http://llvm.org/pre-releases/3.8.0/rc2/ EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@NetBSD.org @@ -98,6 +97,7 @@ CXXFLAGS+= -march=i586 .endif .if ${OPSYS} == "Darwin" +CMAKE_ARGS+= -DCMAKE_LIBTOOL=/usr/bin/libtool .PHONY: fix-darwin-install-name post-install: fix-darwin-install-name fix-darwin-install-name: diff --git a/lang/llvm/distinfo b/lang/llvm/distinfo index 597f16ae200..83b6733df72 100644 --- a/lang/llvm/distinfo +++ b/lang/llvm/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.4 2016/11/14 20:15:32 ryoon Exp $ +$NetBSD: distinfo,v 1.5 2017/01/05 11:54:32 adam Exp $ -SHA1 (llvm-3.9.0.src.tar.xz) = da792f11a208d5b994c4fe1c8faa20f90ff0e4a3 -RMD160 (llvm-3.9.0.src.tar.xz) = bbde781a914f6cd7fab3f71745fc576b2e7e23c9 -SHA512 (llvm-3.9.0.src.tar.xz) = f18ae32531218ab156c3e56c11826be0fd05f0799c82eaf2e6a043b38e1277560b4d921987513b88b11d97ea2619feaf277eec72181dd2ae4f4108c2836bf7b2 -Size (llvm-3.9.0.src.tar.xz) = 18235716 bytes +SHA1 (llvm-3.9.1.src.tar.xz) = ce801cf456b8dacd565ce8df8288b4d90e7317ff +RMD160 (llvm-3.9.1.src.tar.xz) = b0a3c68cfec83a2b4dad6922316b71c0dc25c40a +SHA512 (llvm-3.9.1.src.tar.xz) = 50cbe8ee911080f586e77861c442348701bd02e2de0c090c54c34f82ac275ecfcd712af0f41e387c33b4a6057778a4258a27554292fe68ab4af3fd9dd6d90683 +Size (llvm-3.9.1.src.tar.xz) = 18130436 bytes SHA1 (patch-cmake_modules_AddLLVM.cmake) = ec89e9469115b22feeb106e1c36b36af1f079576 SHA1 (patch-include_llvm_Support_Host.h) = ad6ac520f15bba96ab887c962fb717e22aaee7bf |