pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc llvm: updated to 6.0.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed8f92137457
branches:  trunk
changeset: 383668:ed8f92137457
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Aug 07 10:44:50 2018 +0000

description:
llvm: updated to 6.0.1

6.0.1:

Non-comprehensive list of changes in this release

Support for retpolines was added to help mitigate ?branch target injection? (variant 2) of the ?Spectre? speculative side channels described by Project Zero and the Spectre paper.
The Redirects argument of llvm::sys::ExecuteAndWait and llvm::sys::ExecuteNoWait was changed to an ArrayRef of optional StringRef?s to make it safer and more convenient to use.
The backend name was added to the Target Registry to allow run-time information to be fed back into TableGen. Out-of-tree targets will need to add the name used in the def X : Target definition to 
the call to RegisterTarget.
The Debugify pass was added to opt to facilitate testing of debug info preservation. This pass attaches synthetic DILocations and DIVariables to the instructions in a Module. The CheckDebugify pass 
determines how much of the metadata is lost.
Significantly improved quality of CodeView debug info for Windows.
Preliminary support for Sanitizers and sibling features on X86(_64) NetBSD (ASan, UBsan, TSan, MSan, SafeStack, libFuzzer).

Changes to the LLVM IR
----------------------
The fast-math-flags (FMF) have been updated. Previously, the ?fast? flag indicated that floating-point reassociation was allowed and all other flags were set too. The ?fast? flag still exists, but 
there is a new flag called ?reassoc? to indicate specifically that reassociation is allowed. A new bit called ?afn? was also added to selectively allow approximations for common mathlib functions 
like square-root. The new flags provide more flexibility to enable/disable specific floating-point optimizations. Making the optimizer respond appropriately to these flags is an ongoing effort.

Changes to the AArch64 Target
-----------------------------
Enabled the new GlobalISel instruction selection framework by default at -O0.

Changes to the ARM Target
-------------------------
Support for enabling SjLj exception handling on platforms where it isn?t the default.

Changes to the Hexagon Target
-----------------------------
The Hexagon backend now supports V65 ISA.
The -mhvx option now takes an optional value that specifies the ISA version of the HVX coprocessor. The available values are v60, v62 and v65. By default, the value is set to be the same as the CPU 
version.
The compiler option -mhvx-double is deprecated and will be removed in the next release of the compiler. Programmers should use the -mhvx-length option to specify the desired vector length: 
-mhvx-length=64b for 64-byte vectors and -mhvx-length=128b for 128-byte vectors. While the current default vector length is 64 bytes, users should always specify the length explicitly, since the 
default value may change in the future.
The target feature hvx-double is deprecated and will be removed in the next release. LLVM IR generators should use target features hvx-length64b and hvx-length128b to indicate the vector length. The 
length should always be specified when HVX code generation is enabled.

Changes to the MIPS Target
--------------------------
Fixed numerous bugs:

fpowi on MIPS64 giving incorrect results when used with a negative integer.
Usage of the asm ?c? constraint with the wrong datatype causing an assert/crash.
Fixed a conversion bug when using the DSP ASE.
Fixed an inconsistency where objects were not marked as using the microMIPS as when the micromips function attribute or the ?.set micromips? directive was used.
Reordered the MIPSR6 specific hazard scheduler pass to after the delay slot filler, fixing a class of rare edge case bugs where the delay slot filler would violate ISA restrictions.
Fixed a crash when using a type of unknown size with gp relative addressing.
Corrected the j macro for microMIPS.
Corrected the encoding of movep for microMIPS32r6.
Fixed an issue with the usage of insert instructions having an invalid set of operands.
Fixed an issue where TLS symbols were not marked as such.
Enabled the usage of register scavenging with MSA, due to its shorter offsets for loads and stores.
Corrected the ELF headers when using the DSP ASE.

New features:

The long branch pass now generates some R6 specific instructions when targeting MIPSR6.
The delay slot filler now performs more branch conversions if delay slots cannot be filled.
The MIPS MT ASE is now fully supported.
Added support for the lapc pseudo instruction.
Improved the selection of multiple instructions (dext, nmadd, nmsub).
Further improved microMIPS codesize reduction.

Deprecation notices:

microMIPS64R6 support was been deprecated since 5.0, and has now been completely removed.

Changes to the SystemZ Target
-----------------------------
During this release the SystemZ target has:

Added support for 128-bit atomic operations.
Added support for the ?o? constraint for inline asm statements.

Changes to the X86 Target
-------------------------
During this release the X86 target has:

Added support for enabling SjLj exception handling on platforms where it isn?t the default.
Added intrinsics for Intel Extensions: VAES, GFNI, VPCLMULQDQ, AVX512VBMI2, AVX512BITALG, AVX512VNNI.
Added support for Intel Icelake CPU.
Fixed some X87 codegen bugs.
Added instruction scheduling information for Intel Sandy Bridge, Ivy Bridge, Haswell, Broadwell, and Skylake CPUs.
Improved scheduler model for AMD Jaguar CPUs.
Improved llvm-mc?s disassembler for some EVEX encoded instructions.
Add support for i8 and i16 vector signed/unsigned min/max horizontal reductions.
Improved codegen for memory comparisons
Improved codegen for i32 vector multiplies
Improved codegen for scalar integer absolute values
Improved codegen for vector integer rotations (XOP and AVX512)
Improved codegen of data being transferred between GPRs and K-registers.
Improved codegen for vector truncations.
Improved folding of address computations into gather/scatter instructions.
Gained initial support recognizing variable shuffles from vector element extracts and inserts.
Improved documentation for SSE/AVX intrinsics in intrin.h header files.
Gained support for emitting retpolines, including automatic insertion of the necessary thunks or using external thunks.

diffstat:

 devel/lldb/Makefile                                     |    4 +-
 devel/lldb/PLIST                                        |   15 +-
 devel/lldb/distinfo                                     |   11 +-
 devel/polly/Makefile                                    |    4 +-
 devel/polly/PLIST                                       |    8 +-
 devel/polly/distinfo                                    |   10 +-
 lang/clang/Makefile.common                              |    4 +-
 lang/clang/PLIST                                        |   64 ++++++++-
 lang/clang/distinfo                                     |   10 +-
 lang/libunwind/Makefile                                 |    4 +-
 lang/libunwind/distinfo                                 |   10 +-
 lang/llvm/Makefile                                      |    5 +-
 lang/llvm/PLIST                                         |  109 +++++++++++----
 lang/llvm/distinfo                                      |   14 +-
 lang/llvm/patches/patch-cmake_config-ix.cmake           |   22 +-
 lang/llvm/patches/patch-tools_llvm-shlib_CMakeLists.txt |   18 +-
 16 files changed, 215 insertions(+), 97 deletions(-)

diffs (truncated from 1159 to 300 lines):

diff -r 89b9c28c2554 -r ed8f92137457 devel/lldb/Makefile
--- a/devel/lldb/Makefile       Tue Aug 07 10:15:45 2018 +0000
+++ b/devel/lldb/Makefile       Tue Aug 07 10:44:50 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2018/05/22 12:39:23 adam Exp $
+# $NetBSD: Makefile,v 1.17 2018/08/07 10:44:50 adam Exp $
 
-DISTNAME=      lldb-5.0.2.src
+DISTNAME=      lldb-6.0.1.src
 PKGNAME=       ${DISTNAME:S/.src//}
 CATEGORIES=    lang devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
diff -r 89b9c28c2554 -r ed8f92137457 devel/lldb/PLIST
--- a/devel/lldb/PLIST  Tue Aug 07 10:15:45 2018 +0000
+++ b/devel/lldb/PLIST  Tue Aug 07 10:44:50 2018 +0000
@@ -1,14 +1,16 @@
-@comment $NetBSD: PLIST,v 1.7 2017/12/01 19:22:12 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2018/08/07 10:44:50 adam Exp $
 bin/lldb
 bin/lldb-argdumper
 bin/lldb-mi
 bin/lldb-server
+bin/lldb-test
 include/lldb/API/LLDB.h
 include/lldb/API/SBAddress.h
 include/lldb/API/SBAttachInfo.h
 include/lldb/API/SBBlock.h
 include/lldb/API/SBBreakpoint.h
 include/lldb/API/SBBreakpointLocation.h
+include/lldb/API/SBBreakpointName.h
 include/lldb/API/SBBroadcaster.h
 include/lldb/API/SBCommandInterpreter.h
 include/lldb/API/SBCommandReturnObject.h
@@ -39,6 +41,7 @@
 include/lldb/API/SBModuleSpec.h
 include/lldb/API/SBPlatform.h
 include/lldb/API/SBProcess.h
+include/lldb/API/SBProcessInfo.h
 include/lldb/API/SBQueue.h
 include/lldb/API/SBQueueItem.h
 include/lldb/API/SBSection.h
@@ -76,6 +79,7 @@
 include/lldb/Breakpoint/BreakpointLocation.h
 include/lldb/Breakpoint/BreakpointLocationCollection.h
 include/lldb/Breakpoint/BreakpointLocationList.h
+include/lldb/Breakpoint/BreakpointName.h
 include/lldb/Breakpoint/BreakpointOptions.h
 include/lldb/Breakpoint/BreakpointResolver.h
 include/lldb/Breakpoint/BreakpointResolverAddress.h
@@ -95,7 +99,7 @@
 include/lldb/Core/AddressResolver.h
 include/lldb/Core/AddressResolverFileLine.h
 include/lldb/Core/AddressResolverName.h
-include/lldb/Core/ArchSpec.h
+include/lldb/Core/Architecture.h
 include/lldb/Core/Broadcaster.h
 include/lldb/Core/ClangForward.h
 include/lldb/Core/Communication.h
@@ -225,6 +229,7 @@
 include/lldb/Host/SocketAddress.h
 include/lldb/Host/StringConvert.h
 include/lldb/Host/Symbols.h
+include/lldb/Host/TaskPool.h
 include/lldb/Host/Terminal.h
 include/lldb/Host/ThreadLauncher.h
 include/lldb/Host/Time.h
@@ -426,6 +431,7 @@
 include/lldb/Target/Unwind.h
 include/lldb/Target/UnwindAssembly.h
 include/lldb/Utility/AnsiTerminal.h
+include/lldb/Utility/ArchSpec.h
 include/lldb/Utility/Baton.h
 include/lldb/Utility/CleanUp.h
 include/lldb/Utility/Connection.h
@@ -464,7 +470,6 @@
 include/lldb/Utility/StringLexer.h
 include/lldb/Utility/StringList.h
 include/lldb/Utility/StructuredData.h
-include/lldb/Utility/TaskPool.h
 include/lldb/Utility/TildeExpressionResolver.h
 include/lldb/Utility/Timeout.h
 include/lldb/Utility/Timer.h
@@ -488,7 +493,7 @@
 include/lldb/lldb-versioning.h
 lib/liblldb.so
 lib/liblldb.so.${PKGVERSION}
-${PLIST.posix}lib/liblldb.so.5
+${PLIST.posix}lib/liblldb.so.6
 lib/liblldbBase.a
 lib/liblldbBreakpoint.a
 lib/liblldbCommands.a
@@ -512,6 +517,7 @@
 lib/liblldbPluginABISysV_s390x.a
 lib/liblldbPluginABISysV_x86_64.a
 lib/liblldbPluginAppleObjCRuntime.a
+lib/liblldbPluginArchitectureArm.a
 lib/liblldbPluginCPlusPlusLanguage.a
 lib/liblldbPluginCXXItaniumABI.a
 lib/liblldbPluginDisassemblerLLVM.a
@@ -577,7 +583,6 @@
 lib/liblldbSymbol.a
 lib/liblldbTarget.a
 lib/liblldbUtility.a
-lib/liblldbUtilityHelpers.a
 ${PYSITELIB}/lldb/__init__.py
 ${PYSITELIB}/lldb/_lldb.so
 ${PYSITELIB}/lldb/embedded_interpreter.py
diff -r 89b9c28c2554 -r ed8f92137457 devel/lldb/distinfo
--- a/devel/lldb/distinfo       Tue Aug 07 10:15:45 2018 +0000
+++ b/devel/lldb/distinfo       Tue Aug 07 10:44:50 2018 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.11 2018/05/22 12:39:23 adam Exp $
+$NetBSD: distinfo,v 1.12 2018/08/07 10:44:50 adam Exp $
 
-SHA1 (lldb-5.0.2.src.tar.xz) = dc49387d583f013e99bfd82fddf24a7ce912814f
-RMD160 (lldb-5.0.2.src.tar.xz) = 805f97c1315c7bf391a3ddc7ca78e5403a336f54
-SHA512 (lldb-5.0.2.src.tar.xz) = 66eaaead60cc908ac061bedb4fac9cb96cecb7f4e5a79a51b6fa080e8f61f718b14e5f3581ead832b495bf10f055d4253d199236a0947dd22395ec80bf2afcf4
-Size (lldb-5.0.2.src.tar.xz) = 19220632 bytes
+SHA1 (lldb-6.0.1.src.tar.xz) = 907a32c7170067f485121a1e8ff793b16d1ff491
+RMD160 (lldb-6.0.1.src.tar.xz) = 60b396b12067b99590c3966578809974a2283b55
+SHA512 (lldb-6.0.1.src.tar.xz) = 93ee2efea07276f8838bc2b3ff039cab8c7a1a6965647aaa4dee99f55c6465d5584ed3be87b144e2e32b5acc7db9cec56d89404de764a2f53643ed154d213721
+Size (lldb-6.0.1.src.tar.xz) = 19292420 bytes
 SHA1 (patch-cmake_modules_LLDBStandalone.cmake) = 8f7d06a4b3a1e996af9af4affd650291c4f01fe5
 SHA1 (patch-scripts_Python_modules_readline_readline.cpp) = 4a030226c47cf7d54ebc727e92e278c163e48bf5
+SHA1 (patch-source_Plugins_ScriptInterpreter_Python_PythonDataObjects.cpp) = 99f038eb8f6c3add00c758db1e554a5298cfe589
diff -r 89b9c28c2554 -r ed8f92137457 devel/polly/Makefile
--- a/devel/polly/Makefile      Tue Aug 07 10:15:45 2018 +0000
+++ b/devel/polly/Makefile      Tue Aug 07 10:44:50 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2018/05/22 12:39:23 adam Exp $
+# $NetBSD: Makefile,v 1.10 2018/08/07 10:44:50 adam Exp $
 
-DISTNAME=      polly-5.0.2.src
+DISTNAME=      polly-6.0.1.src
 PKGNAME=       ${DISTNAME:S/.src//}
 CATEGORIES=    devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
diff -r 89b9c28c2554 -r ed8f92137457 devel/polly/PLIST
--- a/devel/polly/PLIST Tue Aug 07 10:15:45 2018 +0000
+++ b/devel/polly/PLIST Tue Aug 07 10:44:50 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2017/12/01 19:22:12 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2018/08/07 10:44:50 adam Exp $
 include/polly/Canonicalization.h
 include/polly/CodeGen/BlockGenerators.h
 include/polly/CodeGen/CodeGeneration.h
@@ -12,11 +12,14 @@
 include/polly/CodeGen/PerfMonitor.h
 include/polly/CodeGen/RuntimeDebugBuilder.h
 include/polly/CodeGen/Utils.h
+include/polly/CodePreparation.h
 include/polly/Config/config.h
 include/polly/DeLICM.h
 include/polly/DependenceInfo.h
 include/polly/FlattenAlgo.h
 include/polly/FlattenSchedule.h
+include/polly/ForwardOpTree.h
+include/polly/JSONExporter.h
 include/polly/LinkAllPasses.h
 include/polly/Options.h
 include/polly/PolyhedralInfo.h
@@ -39,7 +42,7 @@
 include/polly/Support/ScopHelper.h
 include/polly/Support/ScopLocation.h
 include/polly/Support/VirtualInstruction.h
-include/polly/isl-noexceptions.h
+include/polly/ZoneAlgo.h
 include/polly/isl/aff.h
 include/polly/isl/aff_type.h
 include/polly/isl/arg.h
@@ -70,6 +73,7 @@
 include/polly/isl/id_to_id.h
 include/polly/isl/id_to_pw_aff.h
 include/polly/isl/ilp.h
+include/polly/isl/isl-noexceptions.h
 include/polly/isl/list.h
 include/polly/isl/local_space.h
 include/polly/isl/lp.h
diff -r 89b9c28c2554 -r ed8f92137457 devel/polly/distinfo
--- a/devel/polly/distinfo      Tue Aug 07 10:15:45 2018 +0000
+++ b/devel/polly/distinfo      Tue Aug 07 10:44:50 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.9 2018/05/22 12:39:23 adam Exp $
+$NetBSD: distinfo,v 1.10 2018/08/07 10:44:50 adam Exp $
 
-SHA1 (polly-5.0.2.src.tar.xz) = a8872ea34f77165e4cc1f346f7014f5255ab13b4
-RMD160 (polly-5.0.2.src.tar.xz) = 2e806d5eb56539473c5c7016ff36a9d7019609fe
-SHA512 (polly-5.0.2.src.tar.xz) = 4787da99cd25e28ee83acecd7a6fe0a6e3b6258009fe7594865b9f6791842b66fa818b9e8b322708e178ccb4967760b0c4331e3b633adb4118e604915632bc6c
-Size (polly-5.0.2.src.tar.xz) = 8513656 bytes
+SHA1 (polly-6.0.1.src.tar.xz) = ace57e113a26c1244cf28c79012ff5e3f73ff076
+RMD160 (polly-6.0.1.src.tar.xz) = 0f50c00fcd1a1e6b5fcb1e8adce380e7c98fb391
+SHA512 (polly-6.0.1.src.tar.xz) = 1851223653f8c326ddf39f5cf9fc18a2310299769c011795d8e1a5abef2834d2c800fae318e6370547d3b6b35199ce29fe76582b64493ab8fa506aff59272539
+Size (polly-6.0.1.src.tar.xz) = 8684364 bytes
 SHA1 (patch-CMakeLists.txt) = 8138e11f858f23e0069c8fa0c07eff2b7aaf8c43
 SHA1 (patch-lib_External_isl_configure) = 97c83ab1d2f83e60ab39b41cf055c18074167e66
diff -r 89b9c28c2554 -r ed8f92137457 lang/clang/Makefile.common
--- a/lang/clang/Makefile.common        Tue Aug 07 10:15:45 2018 +0000
+++ b/lang/clang/Makefile.common        Tue Aug 07 10:44:50 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.26 2018/05/22 12:39:23 adam Exp $
+# $NetBSD: Makefile.common,v 1.27 2018/08/07 10:44:50 adam Exp $
 # used by lang/clang/Makefile
 # used by lang/clang-static-analyzer/Makefile
 
-DISTNAME=      cfe-5.0.2.src
+DISTNAME=      cfe-6.0.1.src
 CATEGORIES=    lang devel
 MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
diff -r 89b9c28c2554 -r ed8f92137457 lang/clang/PLIST
--- a/lang/clang/PLIST  Tue Aug 07 10:15:45 2018 +0000
+++ b/lang/clang/PLIST  Tue Aug 07 10:44:50 2018 +0000
@@ -1,13 +1,14 @@
-@comment $NetBSD: PLIST,v 1.23 2017/12/30 10:39:24 adam Exp $
+@comment $NetBSD: PLIST,v 1.24 2018/08/07 10:44:50 adam Exp $
 bin/c-index-test
 bin/clang
 bin/clang++
-bin/clang-5.0
+bin/clang-6.0
 bin/clang-cl
 bin/clang-cpp
 bin/clang-format
 bin/clang-import-test
 bin/clang-offload-bundler
+bin/clang-refactor
 bin/clang-rename
 bin/git-clang-format
 include/clang-c/BuildSystem.h
@@ -59,6 +60,7 @@
 include/clang/AST/CommentParser.h
 include/clang/AST/CommentSema.h
 include/clang/AST/CommentVisitor.h
+include/clang/AST/DataCollection.h
 include/clang/AST/Decl.h
 include/clang/AST/DeclAccessPair.h
 include/clang/AST/DeclBase.h
@@ -83,6 +85,7 @@
 include/clang/AST/ExternalASTSource.h
 include/clang/AST/GlobalDecl.h
 include/clang/AST/LambdaCapture.h
+include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h
 include/clang/AST/LocInfoType.h
 include/clang/AST/Mangle.h
 include/clang/AST/MangleNumberingContext.h
@@ -94,6 +97,7 @@
 include/clang/AST/OperationKinds.h
 include/clang/AST/ParentMap.h
 include/clang/AST/PrettyPrinter.h
+include/clang/AST/QualTypeNames.h
 include/clang/AST/RawCommentList.h
 include/clang/AST/RecordLayout.h
 include/clang/AST/RecursiveASTVisitor.h
@@ -101,6 +105,7 @@
 include/clang/AST/SelectorLocationsKind.h
 include/clang/AST/Stmt.h
 include/clang/AST/StmtCXX.h
+include/clang/AST/StmtDataCollectors.inc
 include/clang/AST/StmtGraphTraits.h
 include/clang/AST/StmtIterator.h
 include/clang/AST/StmtNodes.inc
@@ -144,8 +149,9 @@
 include/clang/Analysis/Analyses/ThreadSafetyTraverse.h
 include/clang/Analysis/Analyses/ThreadSafetyUtil.h
 include/clang/Analysis/Analyses/UninitializedValues.h
-include/clang/Analysis/AnalysisContext.h
+include/clang/Analysis/AnalysisDeclContext.h
 include/clang/Analysis/AnalysisDiagnostic.h
+include/clang/Analysis/BodyFarm.h
 include/clang/Analysis/CFG.h
 include/clang/Analysis/CFGStmtMap.h
 include/clang/Analysis/CallGraph.h
@@ -158,6 +164,7 @@
 include/clang/Analysis/Support/BumpVector.h
 include/clang/Basic/ABI.h
 include/clang/Basic/AddressSpaces.h
+include/clang/Basic/AlignedAllocation.h
 include/clang/Basic/AllDiagnostics.h
 include/clang/Basic/AttrHasAttributeImpl.inc
 include/clang/Basic/AttrKinds.h
@@ -193,7 +200,9 @@
 include/clang/Basic/DiagnosticCategories.h
 include/clang/Basic/DiagnosticCommentKinds.inc
 include/clang/Basic/DiagnosticCommonKinds.inc
+include/clang/Basic/DiagnosticCrossTUKinds.inc
 include/clang/Basic/DiagnosticDriverKinds.inc
+include/clang/Basic/DiagnosticError.h
 include/clang/Basic/DiagnosticFrontendKinds.inc
 include/clang/Basic/DiagnosticGroups.inc
 include/clang/Basic/DiagnosticIDs.h
@@ -202,6 +211,7 @@
 include/clang/Basic/DiagnosticOptions.def
 include/clang/Basic/DiagnosticOptions.h
 include/clang/Basic/DiagnosticParseKinds.inc
+include/clang/Basic/DiagnosticRefactoringKinds.inc
 include/clang/Basic/DiagnosticSemaKinds.inc
 include/clang/Basic/DiagnosticSerializationKinds.inc
 include/clang/Basic/ExceptionSpecificationType.h
@@ -232,12 +242,14 @@
 include/clang/Basic/PragmaKinds.h



Home | Main Index | Thread Index | Old Index