Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/llvm/dist/llvm Import LLVM r319952 from branche...



details:   https://anonhg.NetBSD.org/src/rev/3bdf9deb5dac
branches:  trunk
changeset: 828512:3bdf9deb5dac
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Dec 17 20:53:07 2017 +0000

description:
Import LLVM r319952 from branches/release_50

diffstat:

 external/bsd/llvm/dist/llvm/CMakeLists.txt                                                        |     8 +-
 external/bsd/llvm/dist/llvm/docs/CMake.rst                                                        |     7 +-
 external/bsd/llvm/dist/llvm/docs/LangRef.rst                                                      |     4 +
 external/bsd/llvm/dist/llvm/docs/ReleaseNotes.rst                                                 |   178 +-
 external/bsd/llvm/dist/llvm/docs/index.rst                                                        |     5 -
 external/bsd/llvm/dist/llvm/include/llvm/Analysis/TargetTransformInfoImpl.h                       |     6 +
 external/bsd/llvm/dist/llvm/include/llvm/Analysis/ValueTracking.h                                 |     6 +
 external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineFunction.h                                |     6 +
 external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineInstr.h                                   |     3 +
 external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineRegisterInfo.h                            |     8 +
 external/bsd/llvm/dist/llvm/include/llvm/CodeGen/SelectionDAG.h                                   |     5 +-
 external/bsd/llvm/dist/llvm/include/llvm/CodeGen/SelectionDAGNodes.h                              |    10 +-
 external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h                  |    10 +-
 external/bsd/llvm/dist/llvm/include/llvm/IR/AutoUpgrade.h                                         |     2 +
 external/bsd/llvm/dist/llvm/include/llvm/Object/COFFImportFile.h                                  |     4 +-
 external/bsd/llvm/dist/llvm/include/llvm/Support/FormatVariadic.h                                 |    17 +
 external/bsd/llvm/dist/llvm/lib/Analysis/PostDominators.cpp                                       |     2 -
 external/bsd/llvm/dist/llvm/lib/Analysis/ScalarEvolution.cpp                                      |    30 +
 external/bsd/llvm/dist/llvm/lib/Analysis/ValueTracking.cpp                                        |    67 +
 external/bsd/llvm/dist/llvm/lib/AsmParser/LLParser.cpp                                            |     1 +
 external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/BitcodeReader.cpp                                  |     2 +-
 external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp                           |    20 +-
 external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h                                   |     5 +-
 external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp                            |     7 +-
 external/bsd/llvm/dist/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp                                  |    10 +-
 external/bsd/llvm/dist/llvm/lib/CodeGen/MachineFunction.cpp                                       |    14 +
 external/bsd/llvm/dist/llvm/lib/CodeGen/MachineInstr.cpp                                          |     6 +-
 external/bsd/llvm/dist/llvm/lib/CodeGen/MachineRegisterInfo.cpp                                   |    18 +
 external/bsd/llvm/dist/llvm/lib/CodeGen/MachineVerifier.cpp                                       |     2 +
 external/bsd/llvm/dist/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp                                     |    63 +-
 external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp                              |    50 +-
 external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h                              |     1 +
 external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp                      |    49 +-
 external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp                             |    22 +-
 external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp                      |    39 +-
 external/bsd/llvm/dist/llvm/lib/CodeGen/StackColoring.cpp                                         |    58 +-
 external/bsd/llvm/dist/llvm/lib/CodeGen/VirtRegMap.cpp                                            |    30 +-
 external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp                                  |     4 +-
 external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp                                 |     8 +-
 external/bsd/llvm/dist/llvm/lib/ExecutionEngine/CMakeLists.txt                                    |     4 +
 external/bsd/llvm/dist/llvm/lib/IR/AutoUpgrade.cpp                                                |    75 +-
 external/bsd/llvm/dist/llvm/lib/IR/ConstantFold.cpp                                               |     3 +
 external/bsd/llvm/dist/llvm/lib/Linker/IRMover.cpp                                                |     4 +
 external/bsd/llvm/dist/llvm/lib/Linker/LinkModules.cpp                                            |    14 +-
 external/bsd/llvm/dist/llvm/lib/Object/COFFImportFile.cpp                                         |    19 +-
 external/bsd/llvm/dist/llvm/lib/Object/COFFModuleDefinition.cpp                                   |     8 +-
 external/bsd/llvm/dist/llvm/lib/Support/Host.cpp                                                  |     1 +
 external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp                       |    12 +
 external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp                           |   120 +-
 external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp                           |    52 +-
 external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp                            |    19 +-
 external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp                               |     6 +
 external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64InstrInfo.td                                |    31 +-
 external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp                      |    19 +-
 external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64MacroFusion.cpp                             |     4 +-
 external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp                |     3 +
 external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp                             |    13 +-
 external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMAsmPrinter.cpp                                      |     2 +
 external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMCallLowering.cpp                                    |     4 +-
 external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp                               |    43 +-
 external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMFastISel.cpp                                        |     5 +-
 external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMFrameLowering.cpp                                   |     7 +-
 external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMISelLowering.cpp                                    |    24 +-
 external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrInfo.td                                        |    18 +-
 external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp                              |     1 +
 external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMSubtarget.h                                         |    11 +
 external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp                       |     4 +-
 external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp                               |    69 +-
 external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRISelLowering.cpp                                    |     6 +-
 external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRISelLowering.h                                      |     5 +
 external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRInstrInfo.cpp                                       |    18 +-
 external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRInstrInfo.h                                         |     6 +
 external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRInstrInfo.td                                        |    70 +-
 external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRRegisterInfo.cpp                                    |     2 +-
 external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRTargetMachine.cpp                                   |     2 +-
 external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.cpp                     |    20 +
 external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.h                       |     2 +
 external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFISelLowering.cpp                                    |     8 +-
 external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFInstrInfo.td                                        |     2 +-
 external/bsd/llvm/dist/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp                           |   234 +-
 external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp                           |     8 +-
 external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp                   |    15 +
 external/bsd/llvm/dist/llvm/lib/Target/Mips/MicroMipsDSPInstrInfo.td                              |     7 +
 external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsDSPInstrInfo.td                                   |     6 +
 external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsFrameLowering.cpp                                 |    35 +-
 external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsMTInstrFormats.td                                 |    21 +
 external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsMTInstrInfo.td                                    |   110 +
 external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSEFrameLowering.cpp                               |     8 +-
 external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp                                   |     4 +
 external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSchedule.td                                       |     4 +
 external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsScheduleGeneric.td                                |     4 +-
 external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsTargetStreamer.h                                  |     3 +
 external/bsd/llvm/dist/llvm/lib/Target/X86/X86ISelLowering.cpp                                    |   147 +-
 external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrAVX512.td                                      |    59 +-
 external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrSSE.td                                         |     3 +-
 external/bsd/llvm/dist/llvm/lib/Target/X86/X86SchedSandyBridge.td                                 |  2472 +-----
 external/bsd/llvm/dist/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp                        |    39 +-
 external/bsd/llvm/dist/llvm/lib/ToolDrivers/llvm-dlltool/Options.td                               |     6 +-
 external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp                              |     2 +-
 external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp                   |     3 +-
 external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp                  |    10 +
 external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/BDCE.cpp                                        |    44 +
 external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LowerAtomic.cpp                                 |     3 +-
 external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/NewGVN.cpp                                      |    16 +-
 external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/Reassociate.cpp                                 |     6 +
 external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/SCCP.cpp                                        |     3 +-
 external/bsd/llvm/dist/llvm/lib/Transforms/Utils/CloneFunction.cpp                                |     5 +-
 external/bsd/llvm/dist/llvm/lib/Transforms/Utils/CloneModule.cpp                                  |     3 +-
 external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/max-addrec-size.ll                      |    33 +
 external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-module-flag.ll                                   |    14 +-
 external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-section-name.ll                                  |    31 +
 external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64_win64cc_vararg.ll                        |     4 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ldst-unscaled-pre-post.mir                 |   115 +
 external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-memset-inline.ll                           |     4 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/cmp-frameindex.ll                                |    19 +
 external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/falkor-hwpf-fix.mir                              |   306 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fastcc.ll                                        |    12 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldst-opt.ll                                      |    15 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/misched-fusion-aes.ll                            |   130 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/win64_vararg.ll                                  |   111 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hazard.mir                                        |    31 +
 external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll                       |     4 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/vla-cpsr.ll                                  |    13 +
 external/bsd/llvm/dist/llvm/test/CodeGen/ARM/armv4.ll                                             |    17 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cmpxchg-O0.ll                                        |     9 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-segmented-stacks.ll                            |     4 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/ARM/no-fpscr-liveness.ll                                 |    49 +
 external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr32578.ll                                           |    27 +
 external/bsd/llvm/dist/llvm/test/CodeGen/ARM/segmented-stacks-dynamic.ll                          |     8 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/ARM/segmented-stacks.ll                                  |     4 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/ARM/virtregrewriter-subregliveness.mir                   |    84 +
 external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vzip.ll                                              |    19 +
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/atomics/load-store-16-unexpected-register-bug.ll     |    23 +
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/atomics/load16.ll                                    |    22 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/branch-relaxation-long.ll                            |  4137 ++++++++++
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/call.ll                                              |     6 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/clear-bss.ll                                         |     5 +
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/copy-data-to-ram.ll                                  |     5 +
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/directmem.ll                                         |     8 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/load.ll                                              |    14 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDWRdPtr-same-src-dst.mir                     |     4 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDWRdPtr.mir                                  |     4 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDWRdPtrPd.mir                                |     4 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDWRdPtrPi.mir                                |     4 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/std-ldd-immediate-overflow.ll                        |    18 +
 external/bsd/llvm/dist/llvm/test/CodeGen/AVR/varargs.ll                                           |     4 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/BPF/select_ri.ll                                         |    35 +
 external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/pr33883.ll                                    |    12 +
 external/bsd/llvm/dist/llvm/test/CodeGen/Mips/dsp-spill-reload.ll                                 |    52 +
 external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/emergency-spill.mir                             |   212 +
 external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/frameindex.ll                                   |    49 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/Mips/pr33978.ll                                          |    20 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/adx-intrinsics.ll                                    |    27 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-schedule.ll                                      |   408 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-extract-subvector.ll                          |     2 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bw-intrinsics.ll                               |    26 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bwvl-intrinsics.ll                             |    24 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/extractelement-legalization-store-ordering.ll        |    22 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp128-cast.ll                                        |    65 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp128-i128.ll                                        |     2 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/gather-addresses.ll                                  |    16 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/pause.ll                                             |    15 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr33349.ll                                           |    92 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34088.ll                                           |    46 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34137.ll                                           |    53 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34139.ll                                           |    24 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34177.ll                                           |    52 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34271-1.ll                                         |    14 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34271.ll                                           |    14 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34605.ll                                           |    63 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/recip-fastmath.ll                                    |    46 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/recip-fastmath2.ll                                   |    70 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/select-mmx.ll                                        |   120 +
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-schedule.ll                                      |   248 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse2-schedule.ll                                     |   598 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse3-schedule.ll                                     |    48 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse41-schedule.ll                                    |   222 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse42-schedule.ll                                    |    38 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/ssse3-schedule.ll                                    |    74 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-128-v16.ll                            |     4 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-128-v8.ll                             |     6 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-256-v16.ll                            |     2 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-256-v32.ll                            |     2 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-512-v32.ll                            |     8 +-
 external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-512-v64.ll                            |     4 +-
 external/bsd/llvm/dist/llvm/test/DebugInfo/Sparc/subreg.ll                                        |    35 +
 external/bsd/llvm/dist/llvm/test/DebugInfo/cross-cu-scope.ll                                      |    50 +
 external/bsd/llvm/dist/llvm/test/DllTool/coff-decorated.def                                       |    26 +
 external/bsd/llvm/dist/llvm/test/DllTool/coff-weak-exports.def                                    |    18 +-
 external/bsd/llvm/dist/llvm/test/Feature/optnone-opt.ll                                           |     1 -
 external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/force-dynamic-shadow.ll         |    22 +
 external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/stack-poisoning-byval-args.ll   |     4 +
 external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/Inputs/shadow-args-abilist.txt |     8 +
 external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/abilist.ll                     |    10 +-
 external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/shadow-args-zext.ll            |    54 +
 external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/function-alias-non-prevailing.ll              |    17 +
 external/bsd/llvm/dist/llvm/test/Linker/Inputs/only-needed-compiler-used.ll                       |     7 +
 external/bsd/llvm/dist/llvm/test/Linker/Inputs/only-needed-ctors.ll                               |    20 +
 external/bsd/llvm/dist/llvm/test/Linker/Inputs/only-needed-dtors.ll                               |    20 +
 external/bsd/llvm/dist/llvm/test/Linker/Inputs/only-needed-used.ll                                |     7 +
 external/bsd/llvm/dist/llvm/test/Linker/module-flags-pic-1-a.ll                                   |     4 +-
 external/bsd/llvm/dist/llvm/test/Linker/only-needed-compiler-used.ll                              |    13 +
 external/bsd/llvm/dist/llvm/test/Linker/only-needed-ctors1.ll                                     |    15 +
 external/bsd/llvm/dist/llvm/test/Linker/only-needed-ctors2.ll                                     |    28 +
 external/bsd/llvm/dist/llvm/test/Linker/only-needed-dtors1.ll                                     |    15 +
 external/bsd/llvm/dist/llvm/test/Linker/only-needed-dtors2.ll                                     |    28 +
 external/bsd/llvm/dist/llvm/test/Linker/only-needed-used.ll                                       |    11 +
 external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-crypto.s                                        |     1 +
 external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mt/valid-r2-el.txt                          |    21 +-
 external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mt/valid-r2.txt                             |    21 +-
 external/bsd/llvm/dist/llvm/test/MC/Mips/macro-aliases-invalid-wrong-error.s                      |    38 +
 external/bsd/llvm/dist/llvm/test/MC/Mips/macro-aliases.s                                          |    35 +
 external/bsd/llvm/dist/llvm/test/MC/Mips/mt/invalid-wrong-error.s                                 |     4 +
 external/bsd/llvm/dist/llvm/test/MC/Mips/mt/invalid.s                                             |     1 +
 external/bsd/llvm/dist/llvm/test/MC/Mips/mt/mftr-mttr-aliases-invalid-wrong-error.s               |    18 +
 external/bsd/llvm/dist/llvm/test/MC/Mips/mt/mftr-mttr-aliases-invalid.s                           |    23 +
 external/bsd/llvm/dist/llvm/test/MC/Mips/mt/mftr-mttr-aliases.s                                   |    47 +
 external/bsd/llvm/dist/llvm/test/MC/Mips/mt/mftr-mttr-reserved-valid.s                            |     8 +
 external/bsd/llvm/dist/llvm/test/MC/Mips/mt/valid.s                                               |    42 +-
 external/bsd/llvm/dist/llvm/test/MC/Mips/tls-symbols.s                                            |    28 +
 external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/byval.ll                            |    43 +-
 external/bsd/llvm/dist/llvm/test/Transforms/BDCE/invalidate-assumptions.ll                        |   100 +
 external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/exit_value_test2.ll                    |    28 +-
 external/bsd/llvm/dist/llvm/test/Transforms/Inline/recursive.ll                                   |    31 +
 external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/gep-vector.ll                             |     9 +
 external/bsd/llvm/dist/llvm/test/Transforms/LowerAtomic/atomic-swap.ll                            |    11 +
 external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr34452.ll                                     |    49 +
 external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/canonicalize-neg-const.ll                 |    22 +
 external/bsd/llvm/dist/llvm/test/Transforms/SCCP/definite-initializer.ll                          |    11 +
 external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/gepcost.ll                                |    28 +
 external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/pr34131.ll                                |    74 +
 external/bsd/llvm/dist/llvm/tools/llvm-objdump/llvm-objdump.cpp                                   |     2 +-
 external/bsd/llvm/dist/llvm/unittests/Support/FormatVariadicTest.cpp                              |     6 +
 external/bsd/llvm/dist/llvm/unittests/Support/Host.cpp                                            |     3 +
 external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/Cloning.cpp                                |    59 +
 external/bsd/llvm/dist/llvm/utils/lit/lit/LitConfig.py                                            |     2 +-
 external/bsd/llvm/dist/llvm/utils/lit/lit/TestRunner.py                                           |     2 +-
 external/bsd/llvm/dist/llvm/utils/lit/lit/formats/__init__.py                                     |     7 +-
 external/bsd/llvm/dist/llvm/utils/lit/lit/formats/base.py                                         |   143 +-
 external/bsd/llvm/dist/llvm/utils/lit/lit/formats/shtest.py                                       |    33 +-
 external/bsd/llvm/dist/llvm/utils/lit/lit/run.py                                                  |    13 +-
 external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/max-failures/lit.cfg                           |     6 +
 external/bsd/llvm/dist/llvm/utils/lit/tests/max-failures.py                                       |     8 +-
 external/bsd/llvm/dist/llvm/utils/lit/tests/selecting.py                                          |     2 +-
 external/bsd/llvm/dist/llvm/utils/release/merge-request.sh                                        |    92 +-
 external/bsd/llvm/dist/llvm/utils/release/test-release.sh                                         |    21 +-
 246 files changed, 10217 insertions(+), 4247 deletions(-)

diffs (truncated from 21072 to 300 lines):

diff -r 2f3f47380212 -r 3bdf9deb5dac external/bsd/llvm/dist/llvm/CMakeLists.txt
--- a/external/bsd/llvm/dist/llvm/CMakeLists.txt        Sun Dec 17 17:49:04 2017 +0000
+++ b/external/bsd/llvm/dist/llvm/CMakeLists.txt        Sun Dec 17 20:53:07 2017 +0000
@@ -26,7 +26,7 @@
   set(LLVM_VERSION_MINOR 0)
 endif()
 if(NOT DEFINED LLVM_VERSION_PATCH)
-  set(LLVM_VERSION_PATCH 0)
+  set(LLVM_VERSION_PATCH 1)
 endif()
 if(NOT DEFINED LLVM_VERSION_SUFFIX)
   set(LLVM_VERSION_SUFFIX "")
@@ -208,10 +208,6 @@
 option(LLVM_APPEND_VC_REV
   "Embed the version control system revision id in LLVM" ON)
 
-if( LLVM_APPEND_VC_REV )
-  add_version_info_from_vcs(PACKAGE_VERSION)
-endif()
-
 set(PACKAGE_NAME LLVM)
 set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
 set(PACKAGE_BUGREPORT "http://llvm.org/bugs/";)
@@ -314,6 +310,7 @@
 set(LLVM_EXAMPLES_BINARY_DIR ${LLVM_BINARY_DIR}/examples)
 set(LLVM_INCLUDE_DIR ${CMAKE_CURRENT_BINARY_DIR}/include)
 
+# List of all targets to be built by default:
 set(LLVM_ALL_TARGETS
   AArch64
   AMDGPU
@@ -325,7 +322,6 @@
   MSP430
   NVPTX
   PowerPC
-  RISCV
   Sparc
   SystemZ
   X86
diff -r 2f3f47380212 -r 3bdf9deb5dac external/bsd/llvm/dist/llvm/docs/CMake.rst
--- a/external/bsd/llvm/dist/llvm/docs/CMake.rst        Sun Dec 17 17:49:04 2017 +0000
+++ b/external/bsd/llvm/dist/llvm/docs/CMake.rst        Sun Dec 17 20:53:07 2017 +0000
@@ -248,9 +248,10 @@
 
 **LLVM_APPEND_VC_REV**:BOOL
   Embed version control revision info (svn revision number or Git revision id).
-  This is used among other things in the LLVM version string (stored in the
-  PACKAGE_VERSION macro). For this to work cmake must be invoked before the
-  build. Defaults to ON.
+  The version info is provided by the ``LLVM_REVISION`` macro in
+  ``llvm/include/llvm/Support/VCSRevision.h``. Developers using git who don't
+  need revision info can disable this option to avoid re-linking most binaries
+  after a branch switch. Defaults to ON.
 
 **LLVM_ENABLE_THREADS**:BOOL
   Build with threads support, if available. Defaults to ON.
diff -r 2f3f47380212 -r 3bdf9deb5dac external/bsd/llvm/dist/llvm/docs/LangRef.rst
--- a/external/bsd/llvm/dist/llvm/docs/LangRef.rst      Sun Dec 17 17:49:04 2017 +0000
+++ b/external/bsd/llvm/dist/llvm/docs/LangRef.rst      Sun Dec 17 20:53:07 2017 +0000
@@ -5369,6 +5369,10 @@
            nodes. However, duplicate entries in the second list are dropped
            during the append operation.
 
+   * - 7
+     - **Max**
+           Takes the max of the two values, which are required to be integers.
+
 It is an error for a particular unique flag ID to have multiple behaviors,
 except in the case of **Require** (which adds restrictions on another metadata
 value) or **Override**.
diff -r 2f3f47380212 -r 3bdf9deb5dac external/bsd/llvm/dist/llvm/docs/ReleaseNotes.rst
--- a/external/bsd/llvm/dist/llvm/docs/ReleaseNotes.rst Sun Dec 17 17:49:04 2017 +0000
+++ b/external/bsd/llvm/dist/llvm/docs/ReleaseNotes.rst Sun Dec 17 20:53:07 2017 +0000
@@ -5,11 +5,6 @@
 .. contents::
     :local:
 
-.. warning::
-   These are in-progress notes for the upcoming LLVM 5 release.
-   Release notes for previous releases can be found on
-   `the Download Page <http://releases.llvm.org/download.html>`_.
-
 
 Introduction
 ============
@@ -26,73 +21,144 @@
 <http://lists.llvm.org/mailman/listinfo/llvm-dev>`_ is a good place to send
 them.
 
-Note that if you are reading this file from a Subversion checkout or the main
-LLVM web page, this document applies to the *next* release, not the current
-one.  To see the release notes for a specific release, please see the `releases
-page <http://llvm.org/releases/>`_.
-
 Non-comprehensive list of changes in this release
 =================================================
-.. NOTE
-   For small 1-3 sentence descriptions, just add an entry at the end of
-   this list. If your description won't fit comfortably in one bullet
-   point (e.g. maybe you would like to give an example of the
-   functionality, or simply have a lot to talk about), see the `NOTE` below
-   for adding a new subsection.
 
 * LLVM's ``WeakVH`` has been renamed to ``WeakTrackingVH`` and a new ``WeakVH``
   has been introduced.  The new ``WeakVH`` nulls itself out on deletion, but
   does not track values across RAUW.
-  
+
 * A new library named ``BinaryFormat`` has been created which holds a collection
   of code which previously lived in ``Support``.  This includes the
   ``file_magic`` structure and ``identify_magic`` functions, as well as all the
   structure and type definitions for DWARF, ELF, COFF, WASM, and MachO file
   formats.
-  
+
 * The tool ``llvm-pdbdump`` has been renamed ``llvm-pdbutil`` to better reflect
   its nature as a general purpose PDB manipulation / diagnostics tool that does
   more than just dumping contents.
-  
+
 * The ``BBVectorize`` pass has been removed. It was fully replaced and no
   longer used back in 2014 but we didn't get around to removing it. Now it is
   gone. The SLP vectorizer is the suggested non-loop vectorization pass.
 
-.. NOTE
-   If you would like to document a larger change, then you can add a
-   subsection about it right here. You can copy the following boilerplate
-   and un-indent it (the indentation causes it to be inside this comment).
+* A new tool opt-viewer.py has been added to visualize optimization remarks in
+  HTML.  The tool processes the YAML files produced by clang with the
+  -fsave-optimization-record option.
 
-   Special New Feature
-   -------------------
+* A new CMake macro ``LLVM_REVERSE_ITERATION`` has been added. If enabled, all
+  supported unordered LLVM containers would be iterated in reverse order. This
+  is useful for uncovering non-determinism caused by iteration of unordered
+  containers. Currently, it supports reverse iteration of SmallPtrSet and
+  DenseMap.
 
-   Makes programs 10x faster by doing Special New Thing.
+* A new tool ``llvm-dlltool`` has been added to create short import libraries
+  from GNU style definition files. The tool utilizes the PE COFF SPEC Import
+  Library Format and PE COFF Auxiliary Weak Externals Format to achieve
+  compatibility with LLD and MSVC LINK.
+
 
 Changes to the LLVM IR
 ----------------------
 
 * The datalayout string may now indicate an address space to use for
-  the pointer type of alloca rather than the default of 0.
+  the pointer type of ``alloca`` rather than the default of 0.
 
-* Added speculatable attribute indicating a function which does has no
+* Added ``speculatable`` attribute indicating a function which has no
   side-effects which could inhibit hoisting of calls.
 
-Changes to the ARM Backend
+Changes to the Arm Targets
 --------------------------
 
- During this release ...
+During this release the AArch64 target has:
 
+* A much improved Global ISel at O0.
+* Support for ARMv8.1 8.2 and 8.3 instructions.
+* New scheduler information for ThunderX2.
+* Some SVE type changes but not much more than that.
+* Made instruction fusion more aggressive, resulting in speedups
+  for code making use of AArch64 AES instructions. AES fusion has been
+  enabled for most Cortex-A cores and the AArch64MacroFusion pass was moved
+  to the generic MacroFusion pass.
+* Added preferred function alignments for most Cortex-A cores.
+* OpenMP "offload-to-self" base support.
+
+During this release the ARM target has:
+
+* Improved, but still mostly broken, Global ISel.
+* Scheduling models update, new schedule for Cortex-A57.
+* Hardware breakpoint support in LLDB.
+* New assembler error handling, with spelling corrections and multiple
+  suggestions on how to fix problems.
+* Improved mixed ARM/Thumb code generation. Some cases in which wrong
+  relocations were emitted have been fixed.
+* Added initial support for mixed ARM/Thumb link-time optimization, using the
+  thumb-mode target feature.
 
 Changes to the MIPS Target
 --------------------------
 
- During this release ...
+* The microMIPS64R6 backend is deprecated and will be removed in the next
+  release.
+
+* The MIPS backend now directly supports vector types for arguments and return
+  values (previously this required ABI specific LLVM IR).
+
+* Added documentation for how the MIPS backend handles address lowering.
+
+* Added a GCC compatible option -m(no-)madd4 to control the generation of four
+  operand multiply addition/subtraction instructions.
+
+* Added basic support for the XRay instrumentation system.
+
+* Added support for more assembly aliases and macros.
+
+* Added support for the ``micromips`` and ``nomicromips`` function attributes
+  which control micromips code generation on a per function basis.
+
+* Added the ``long-calls`` feature for non-pic environments. This feature is
+  used where the callee is out of range of the caller using a standard call
+  sequence. It must be enabled specifically.
+
+* Added support for performing microMIPS code generation via function
+  attributes.
+
+* Added experimental support for the static relocation model for the N64 ABI.
+
+* Added partial support for the MT ASE.
+
+* Added basic support for code size reduction for microMIPS.
+
+* Fixed numerous bugs including: multi-precision arithmetic support, various
+  vectorization bugs, debug information for thread local variables, debug
+  sections lacking the correct flags, crashing when disassembling sections
+  whose size is not a multiple of two or four.
 
 
 Changes to the PowerPC Target
 -----------------------------
 
- During this release ...
+* Additional support and exploitation of POWER ISA 3.0: vabsdub, vabsduh,
+  vabsduw, modsw, moduw, modsd, modud, lxv, stxv, vextublx, vextubrx, vextuhlx,
+  vextuhrx, vextuwlx, vextuwrx, vextsb2w, vextsb2d, vextsh2w, vextsh2d, and
+  vextsw2d
+
+* Implemented Optimal Code Sequences from The PowerPC Compiler Writer's Guide.
+
+* Enable -fomit-frame-pointer by default.
+
+* Improved handling of bit reverse intrinsic.
+
+* Improved handling of memcpy and memcmp functions.
+
+* Improved handling of branches with static branch hints.
+
+* Improved codegen for atomic load_acquire.
+
+* Improved block placement during code layout
+
+* Many improvements to instruction selection and code generation
+
 
 Changes to the X86 Target
 -------------------------
@@ -117,6 +183,21 @@
 
 * Added support for AMD Lightweight Profiling (LWP) instructions.
 
+* Avoid using slow LEA instructions.
+
+* Use alternative sequences for multiply by constant.
+
+* Improved lowering of strided shuffles.
+
+* Improved the AVX512 cost model used by the vectorizer.
+
+* Fix scalar code performance when AVX512 is enabled by making i1's illegal.
+
+* Fixed many inline assembly bugs.
+
+* Preliminary support for tracing NetBSD processes and core files with a single
+  thread in LLDB.
+
 Changes to the AMDGPU Target
 -----------------------------
 
@@ -131,22 +212,17 @@
 * Enable the branch relaxation pass so that we don't crash on large
   stack load/stores
 
-* Add support for lowering bit-rotations to the native `ror` and `rol`
+* Add support for lowering bit-rotations to the native ``ror`` and ``rol``
   instructions
 
 * Fix bug where function pointers were treated as pointers to RAM and not
   pointers to program memory
 
-* Fix broken code generaton for shift-by-variable expressions
+* Fix broken code generation for shift-by-variable expressions
 
 * Support zero-sized types in argument lists; this is impossible in C,
   but possible in Rust
 
-Changes to the OCaml bindings
------------------------------
-
- During this release ...




Home | Main Index | Thread Index | Old Index