pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/llvm llvm: updated to 12.0.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/be18be619e97
branches: trunk
changeset: 455813:be18be619e97
user: adam <adam%pkgsrc.org@localhost>
date: Mon Jul 12 18:41:02 2021 +0000
description:
llvm: updated to 12.0.1
12.0.1:
Non-comprehensive list of changes in this release
The ConstantPropagation pass was removed. Users should use the InstSimplify pass instead.
Changes to the LLVM IR
Added the byref attribute to better represent argument passing for the amdgpu_kernel calling convention.
Added type parameter to the sret attribute to continue work on removing pointer element types.
The llvm.experimental.vector.reduce family of intrinsics have been renamed to drop the “experimental” from the name, reflecting their now fully supported status in the IR.
Changes to building LLVM
The internal llvm-build Python script and the associated LLVMBuild.txt files used to describe the LLVM component structure have been removed and replaced by a pure CMake approach, where each
component stores extra properties in the created targets. These properties are processed once all components are defined to resolve library dependencies and produce the header expected by llvm-config.
Changes to TableGen
The new “TableGen Programmer’s Reference” replaces the “TableGen Language Introduction” and “TableGen Language Reference” documents.
The syntax for specifying an integer range in a range list has changed. The old syntax used a hyphen in the range (e.g., {0-9}). The new syntax uses the “…” range punctuation (e.g., {0...9}). The
hyphen syntax is deprecated.
Changes to the AArch64 Backend
Lots of improvements to generation of Windows unwind data; the unwind data is optimized and written in packed form where possible, reducing the size of unwind data (pdata and xdata sections) by
around 60% compared with LLVM 11. The generation of prologs/epilogs is tweaked when targeting Windows, to increase the chances of being able to use the packed unwind info format.
Support for creating Windows unwind data using .seh_* assembler directives.
Produce proper assembly output for the Windows target, including :lo12: relocation specifiers, to allow the assembly output to actually be assembled.
Changed the assembly comment string for MSVC targets to // (consistent with the MinGW and ELF targets), freeing up ; to be used as statement separator.
Changes to the ARM Backend
Changes to the MIPS Target
Changes to the PowerPC Target
Optimization:
Made improvements to loop unroll-and-jam including fix to respect user provided #pragma unroll-and-jam for loops on targets other than ARM.
Improved PartialInliner allowing it to handle code regions in a switch statements.
Improved PGO support on AIX by building and linking with compiler-rt profile library.
Add support for Epilogue Vectorization and enabled it by default.
CodeGen:
POWER10 support * Implementation of PC Relative addressing in LLD including the associated
linker optimizations.
Add support for the new matrix multiplication (MMA) instructions to Clang and LLVM.
Implementation of Power10 builtins.
Scheduling enhancements * Add a new algorithm to cluster more loads/stores if the DAG is not too
complicated.
Enable the PowerPC scheduling heuristic for Power10.
Target dependent passes tuning * Enhance LoopStrengthReduce/PPCLoopInstrFormPrep pass for PowerPC,
especially for P10 intrinsics.
Enhance machine combiner pass to reduce register pressure for PowerPC.
Improve MachineSink to do more sinking based on register pressure and alias analysis.
General improvements * Complete the constrained floating point operations support. * Improve the llvm-exegesis support. * Improve the stack clash protection to probe the gap between stackptr and
realigned stackptr.
Improve the IEEE long double support for Power8.
Enable MemorySSA for LoopSink.
Enhance LLVM debugging functionality via options such as -print-changed and -print-before-changed.
Add builtins for Power9 (i.e. darn, xvtdiv, xvtsqrt etc).
Add options to disable all or part of LoopIdiomRecognizePass.
Add support for printing the DDG in DOT form allowing for visual inspection of the Data Dependence Graph.
Remove the QPX support.
Significant number of bug fixes including all the fixes necessary to achieve a clean test run for Julia.
AIX Support:
Compiler-rt support * Add support for building compiler-rt for AIX and 32-bit Power targets. * Made compiler-rt the default rtlib for AIX.
General Improvements * Enable the AIX extended AltiVec ABI under option -mabi=vec-extabi. * Add partial C99 complex type support. * Implemente traceback table for functions (encodes vector
information, emits exception handling).
Implemente code generation for C++ dynamic initialization and finalization. of non-local variables for use with the -bcdtors option of the AIX linker.
Add new option -mignore-xcoff-visibility.
Enable explicit sections on AIX.
Enable -f[no-]data-sections on AIX and set -fdata-sections to be the default on AIX.
Enable -f[no-]function-sections.
Add support for relocation generation using the large code model.
Add pragma align natural and sorted out pragma pack stack effect.
Changes to the X86 Target
The ‘mpx’ feature was removed from the backend. It had been removed from clang frontend in 10.0. Mention of the ‘mpx’ feature in an IR file will print a message to stderr, but IR should still compile.
Support for -march=alderlake, -march=sapphirerapids, -march=znver3 and -march=x86-64-v[234] has been added.
The assembler now has support for {disp32} and {disp8} pseudo prefixes for controlling displacement size for memory operands and jump displacements. The assembler also supports the .d32 and .d8
mnemonic suffixes to do the same.
A new function attribute “tune-cpu” has been added to support -mtune like gcc. This allows microarchitectural optimizations to be applied independent from the “target-cpu” attribute or TargetMachine
CPU which will be used to select Instruction Set. If the attribute is not present, the tune CPU will follow the target CPU.
Support for HRESET instructions has been added.
Support for UINTR instructions has been added.
Support for AVXVNNI instructions has been added.
Changes to the AMDGPU Target
The new byref attribute is now the preferred method for representing aggregate kernel arguments.
diffstat:
lang/llvm/Makefile | 3 +-
lang/llvm/PLIST | 242 +++++++++++-
lang/llvm/buildlink3.mk | 9 +-
lang/llvm/distinfo | 17 +-
lang/llvm/options.mk | 4 +-
lang/llvm/patches/patch-cmake_config-ix.cmake | 18 +-
lang/llvm/patches/patch-cmake_modules_AddLLVM.cmake | 19 +-
lang/llvm/patches/patch-include_llvm-c_DataTypes.h | 8 +-
lang/llvm/patches/patch-lib_Target_PowerPC_PPCInstrInfo.td | 22 -
lang/llvm/version.mk | 4 +-
10 files changed, 244 insertions(+), 102 deletions(-)
diffs (truncated from 1263 to 300 lines):
diff -r 2b695eefaa20 -r be18be619e97 lang/llvm/Makefile
--- a/lang/llvm/Makefile Mon Jul 12 15:15:26 2021 +0000
+++ b/lang/llvm/Makefile Mon Jul 12 18:41:02 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2021/06/13 19:02:30 wiz Exp $
+# $NetBSD: Makefile,v 1.64 2021/07/12 18:41:02 adam Exp $
#
# when updating this, please also update:
# devel/include-what-you-use
@@ -25,7 +25,6 @@
DISTNAME= llvm-${LLVM_VERSION}.src
PKGNAME= ${DISTNAME:S/.src//}
-PKGREVISION= 4
CATEGORIES= lang devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
diff -r 2b695eefaa20 -r be18be619e97 lang/llvm/PLIST
--- a/lang/llvm/PLIST Mon Jul 12 15:15:26 2021 +0000
+++ b/lang/llvm/PLIST Mon Jul 12 18:41:02 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2020/07/27 11:12:48 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2021/07/12 18:41:02 adam Exp $
bin/FileCheck
bin/bugpoint
bin/count
@@ -11,6 +11,7 @@
bin/llvm-ar
bin/llvm-as
bin/llvm-bcanalyzer
+bin/llvm-bitcode-strip
bin/llvm-c-test
bin/llvm-cat
bin/llvm-cfi-verify
@@ -28,16 +29,20 @@
bin/llvm-elfabi
bin/llvm-exegesis
bin/llvm-extract
+bin/llvm-gsymutil
bin/llvm-ifs
bin/llvm-install-name-tool
bin/llvm-jitlink
+bin/llvm-jitlink-executor
bin/llvm-lib
+bin/llvm-libtool-darwin
bin/llvm-link
bin/llvm-lipo
bin/llvm-lto
bin/llvm-lto2
bin/llvm-mc
bin/llvm-mca
+bin/llvm-ml
bin/llvm-modextract
bin/llvm-mt
bin/llvm-nm
@@ -46,6 +51,7 @@
bin/llvm-opt-report
bin/llvm-pdbutil
bin/llvm-profdata
+bin/llvm-profgen
bin/llvm-ranlib
bin/llvm-rc
bin/llvm-readelf
@@ -66,6 +72,7 @@
bin/opt
bin/sancov
bin/sanstats
+bin/split-file
bin/verify-uselistorder
bin/yaml-bench
bin/yaml2obj
@@ -84,10 +91,11 @@
include/llvm-c/ExternC.h
include/llvm-c/IRReader.h
include/llvm-c/Initialization.h
-include/llvm-c/LinkTimeOptimizer.h
+include/llvm-c/LLJIT.h
include/llvm-c/Linker.h
include/llvm-c/Object.h
-include/llvm-c/OrcBindings.h
+include/llvm-c/Orc.h
+include/llvm-c/OrcEE.h
include/llvm-c/Remarks.h
include/llvm-c/Support.h
include/llvm-c/Target.h
@@ -102,6 +110,7 @@
include/llvm-c/Transforms/Vectorize.h
include/llvm-c/Types.h
include/llvm-c/lto.h
+include/llvm/ADT/APFixedPoint.h
include/llvm/ADT/APFloat.h
include/llvm/ADT/APInt.h
include/llvm/ADT/APSInt.h
@@ -109,9 +118,11 @@
include/llvm/ADT/Any.h
include/llvm/ADT/ArrayRef.h
include/llvm/ADT/BitVector.h
+include/llvm/ADT/Bitfields.h
include/llvm/ADT/BitmaskEnum.h
include/llvm/ADT/BreadthFirstIterator.h
include/llvm/ADT/CachedHashString.h
+include/llvm/ADT/CoalescingBitVector.h
include/llvm/ADT/DAGDeltaAlgorithm.h
include/llvm/ADT/DeltaAlgorithm.h
include/llvm/ADT/DenseMap.h
@@ -163,13 +174,16 @@
include/llvm/ADT/Statistic.h
include/llvm/ADT/StringExtras.h
include/llvm/ADT/StringMap.h
+include/llvm/ADT/StringMapEntry.h
include/llvm/ADT/StringRef.h
include/llvm/ADT/StringSet.h
include/llvm/ADT/StringSwitch.h
include/llvm/ADT/TinyPtrVector.h
include/llvm/ADT/Triple.h
include/llvm/ADT/Twine.h
+include/llvm/ADT/TypeSwitch.h
include/llvm/ADT/UniqueVector.h
+include/llvm/ADT/Waymarking.h
include/llvm/ADT/bit.h
include/llvm/ADT/edit_distance.h
include/llvm/ADT/fallible_iterator.h
@@ -185,6 +199,7 @@
include/llvm/Analysis/AliasAnalysis.h
include/llvm/Analysis/AliasAnalysisEvaluator.h
include/llvm/Analysis/AliasSetTracker.h
+include/llvm/Analysis/AssumeBundleQueries.h
include/llvm/Analysis/AssumptionCache.h
include/llvm/Analysis/BasicAliasAnalysis.h
include/llvm/Analysis/BlockFrequencyInfo.h
@@ -203,8 +218,11 @@
include/llvm/Analysis/CmpInstAnalysis.h
include/llvm/Analysis/CodeMetrics.h
include/llvm/Analysis/ConstantFolding.h
+include/llvm/Analysis/ConstraintSystem.h
include/llvm/Analysis/DDG.h
+include/llvm/Analysis/DDGPrinter.h
include/llvm/Analysis/DOTGraphTraitsPass.h
+include/llvm/Analysis/Delinearization.h
include/llvm/Analysis/DemandedBits.h
include/llvm/Analysis/DependenceAnalysis.h
include/llvm/Analysis/DependenceGraphBuilder.h
@@ -214,13 +232,20 @@
include/llvm/Analysis/DominanceFrontier.h
include/llvm/Analysis/DominanceFrontierImpl.h
include/llvm/Analysis/EHPersonalities.h
+include/llvm/Analysis/FunctionPropertiesAnalysis.h
include/llvm/Analysis/GlobalsModRef.h
include/llvm/Analysis/GuardUtils.h
+include/llvm/Analysis/HeatUtils.h
+include/llvm/Analysis/IRSimilarityIdentifier.h
include/llvm/Analysis/IVDescriptors.h
include/llvm/Analysis/IVUsers.h
include/llvm/Analysis/IndirectCallPromotionAnalysis.h
include/llvm/Analysis/IndirectCallVisitor.h
+include/llvm/Analysis/InlineAdvisor.h
include/llvm/Analysis/InlineCost.h
+include/llvm/Analysis/InlineModelFeatureMaps.h
+include/llvm/Analysis/InlineSizeEstimatorAnalysis.h
+include/llvm/Analysis/InstCount.h
include/llvm/Analysis/InstructionPrecedenceTracking.h
include/llvm/Analysis/InstructionSimplify.h
include/llvm/Analysis/Interval.h
@@ -240,21 +265,24 @@
include/llvm/Analysis/LoopInfo.h
include/llvm/Analysis/LoopInfoImpl.h
include/llvm/Analysis/LoopIterator.h
+include/llvm/Analysis/LoopNestAnalysis.h
include/llvm/Analysis/LoopPass.h
include/llvm/Analysis/LoopUnrollAnalyzer.h
+include/llvm/Analysis/MLInlineAdvisor.h
+include/llvm/Analysis/MLModelRunner.h
+include/llvm/Analysis/MemDerefPrinter.h
include/llvm/Analysis/MemoryBuiltins.h
include/llvm/Analysis/MemoryDependenceAnalysis.h
include/llvm/Analysis/MemoryLocation.h
include/llvm/Analysis/MemorySSA.h
include/llvm/Analysis/MemorySSAUpdater.h
+include/llvm/Analysis/ModuleDebugInfoPrinter.h
include/llvm/Analysis/ModuleSummaryAnalysis.h
include/llvm/Analysis/MustExecute.h
include/llvm/Analysis/ObjCARCAliasAnalysis.h
include/llvm/Analysis/ObjCARCAnalysisUtils.h
include/llvm/Analysis/ObjCARCInstKind.h
include/llvm/Analysis/OptimizationRemarkEmitter.h
-include/llvm/Analysis/OrderedBasicBlock.h
-include/llvm/Analysis/OrderedInstructions.h
include/llvm/Analysis/PHITransAddr.h
include/llvm/Analysis/Passes.h
include/llvm/Analysis/PhiValues.h
@@ -266,13 +294,15 @@
include/llvm/Analysis/RegionIterator.h
include/llvm/Analysis/RegionPass.h
include/llvm/Analysis/RegionPrinter.h
+include/llvm/Analysis/ReplayInlineAdvisor.h
include/llvm/Analysis/ScalarEvolution.h
include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h
-include/llvm/Analysis/ScalarEvolutionExpander.h
+include/llvm/Analysis/ScalarEvolutionDivision.h
include/llvm/Analysis/ScalarEvolutionExpressions.h
include/llvm/Analysis/ScalarEvolutionNormalization.h
include/llvm/Analysis/ScopedNoAliasAA.h
include/llvm/Analysis/SparsePropagation.h
+include/llvm/Analysis/StackLifetime.h
include/llvm/Analysis/StackSafetyAnalysis.h
include/llvm/Analysis/SyncDependenceAnalysis.h
include/llvm/Analysis/SyntheticCountsUtils.h
@@ -284,7 +314,9 @@
include/llvm/Analysis/Trace.h
include/llvm/Analysis/TypeBasedAliasAnalysis.h
include/llvm/Analysis/TypeMetadataUtils.h
+include/llvm/Analysis/Utils/ImportedFunctionsInliningStatistics.h
include/llvm/Analysis/Utils/Local.h
+include/llvm/Analysis/Utils/TFUtils.h
include/llvm/Analysis/ValueLattice.h
include/llvm/Analysis/ValueLatticeUtils.h
include/llvm/Analysis/ValueTracking.h
@@ -304,6 +336,7 @@
include/llvm/BinaryFormat/ELFRelocs/ARM.def
include/llvm/BinaryFormat/ELFRelocs/AVR.def
include/llvm/BinaryFormat/ELFRelocs/BPF.def
+include/llvm/BinaryFormat/ELFRelocs/CSKY.def
include/llvm/BinaryFormat/ELFRelocs/Hexagon.def
include/llvm/BinaryFormat/ELFRelocs/Lanai.def
include/llvm/BinaryFormat/ELFRelocs/MSP430.def
@@ -313,6 +346,7 @@
include/llvm/BinaryFormat/ELFRelocs/RISCV.def
include/llvm/BinaryFormat/ELFRelocs/Sparc.def
include/llvm/BinaryFormat/ELFRelocs/SystemZ.def
+include/llvm/BinaryFormat/ELFRelocs/VE.def
include/llvm/BinaryFormat/ELFRelocs/i386.def
include/llvm/BinaryFormat/ELFRelocs/x86_64.def
include/llvm/BinaryFormat/MachO.def
@@ -327,8 +361,11 @@
include/llvm/BinaryFormat/MsgPackWriter.h
include/llvm/BinaryFormat/Wasm.h
include/llvm/BinaryFormat/WasmRelocs.def
+include/llvm/BinaryFormat/WasmTraits.h
include/llvm/BinaryFormat/XCOFF.h
include/llvm/Bitcode/BitcodeAnalyzer.h
+include/llvm/Bitcode/BitcodeCommon.h
+include/llvm/Bitcode/BitcodeConvenience.h
include/llvm/Bitcode/BitcodeReader.h
include/llvm/Bitcode/BitcodeWriter.h
include/llvm/Bitcode/BitcodeWriterPass.h
@@ -338,15 +375,18 @@
include/llvm/Bitstream/BitstreamWriter.h
include/llvm/CodeGen/AccelTable.h
include/llvm/CodeGen/Analysis.h
+include/llvm/CodeGen/AntiDepBreaker.h
include/llvm/CodeGen/AsmPrinter.h
include/llvm/CodeGen/AsmPrinterHandler.h
include/llvm/CodeGen/AtomicExpandUtils.h
+include/llvm/CodeGen/BasicBlockSectionUtils.h
include/llvm/CodeGen/BasicTTIImpl.h
include/llvm/CodeGen/BuiltinGCs.h
include/llvm/CodeGen/CSEConfigBase.h
include/llvm/CodeGen/CalcSpillWeights.h
include/llvm/CodeGen/CallingConvLower.h
-include/llvm/CodeGen/CommandFlags.inc
+include/llvm/CodeGen/CodeGenPassBuilder.h
+include/llvm/CodeGen/CommandFlags.h
include/llvm/CodeGen/CostTable.h
include/llvm/CodeGen/DAGCombine.h
include/llvm/CodeGen/DFAPacketizer.h
@@ -375,6 +415,7 @@
include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
include/llvm/CodeGen/GlobalISel/GISelWorkList.h
include/llvm/CodeGen/GlobalISel/IRTranslator.h
+include/llvm/CodeGen/GlobalISel/InlineAsmLowering.h
include/llvm/CodeGen/GlobalISel/InstructionSelect.h
include/llvm/CodeGen/GlobalISel/InstructionSelector.h
include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
@@ -383,14 +424,15 @@
include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
include/llvm/CodeGen/GlobalISel/Localizer.h
+include/llvm/CodeGen/GlobalISel/LostDebugLocObserver.h
include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
include/llvm/CodeGen/GlobalISel/RegBankSelect.h
include/llvm/CodeGen/GlobalISel/RegisterBank.h
include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
-include/llvm/CodeGen/GlobalISel/Types.h
include/llvm/CodeGen/GlobalISel/Utils.h
include/llvm/CodeGen/ISDOpcodes.h
+include/llvm/CodeGen/IndirectThunks.h
include/llvm/CodeGen/IntrinsicLowering.h
include/llvm/CodeGen/LatencyPriorityQueue.h
include/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h
@@ -398,6 +440,7 @@
include/llvm/CodeGen/LinkAllAsmWriterComponents.h
include/llvm/CodeGen/LinkAllCodegenComponents.h
include/llvm/CodeGen/LiveInterval.h
+include/llvm/CodeGen/LiveIntervalCalc.h
include/llvm/CodeGen/LiveIntervalUnion.h
include/llvm/CodeGen/LiveIntervals.h
include/llvm/CodeGen/LivePhysRegs.h
@@ -409,6 +452,7 @@
include/llvm/CodeGen/LiveVariables.h
Home |
Main Index |
Thread Index |
Old Index