1. [MSSA][NewPM] Handle tests with -print-memoryssa (details)
  2. [X86] Rename mod128.ll to divmod128.ll and add test cases for sdiv/udiv/urem. (details)
  3. [CMake] Simplify CMake handling for zlib (details)
  4. [ELF] Allow SHF_LINK_ORDER sections to have sh_link=0 (details)
  5. [Analyzer][WebKit] UncountedLambdaCaptureChecker (details)
  6. [ELF][test] Add REQUIES: x86 and -triple=x86_64 to linkorder-mixed.s (details)
  7. [ELF] Fix type of ciesWithLSDA after D84610 (details)
Commit 4103f4a936ae6eb060d84d007b1d64c17ddf1a91 by aeubanks
[MSSA][NewPM] Handle tests with -print-memoryssa

-print-memoryssa in legacy PM is print<memoryssa> in NPM.
Pin tests with -print-memoryssa to legacy PM.
Add corresponding tests for NPM where missing.
This fixes "unknown pass name 'print-memoryssa'".

Some tests still fail in Analysis/MemorySSA due to other passes that
haven't been ported.

pr43427.ll and pr43438.ll required adding -aa-pipeline=basic-aa,
-loop-simplify (since it doesn't run on legacy PM by default), and
decrementing some of the MemoryPhi numbers.

Reviewed By: asbirlea

Differential Revision:
The file was modifiedllvm/test/Analysis/MemorySSA/no-disconnected.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/many-doms.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/constant-memory.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/function-mem-attrs.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/pr36883.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/multi-edges.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/volatile-clobber.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/function-clobber.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/loop_rotate_remove_trivial_phis.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/multiple-locations.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/atomic-clobber.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/invariant-groups.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/multiple-backedges-hal.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/assume.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/phi-translation.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/pr28880.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/debugvalue2.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/pr43317.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/pr43427.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/scalable-vec.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/lifetime-simple.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/pr43438.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/load-invariant.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/many-dom-backedge.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/cyclicphi.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/ptr-const-mem.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/optimize-use.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/update_unroll.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/pr41640.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/loop-rotate-disablebasicaa.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/basicaa-memcpy.ll (diff)
Commit 978165bf02776a2b957c795a5c1d94f9f208fc8e by craig.topper
[X86] Rename mod128.ll to divmod128.ll and add test cases for sdiv/udiv/urem.

This improves code coverage on the switch in LowerWin64_i128OP.
The file was removedllvm/test/CodeGen/X86/mod128.ll
The file was addedllvm/test/CodeGen/X86/divmod128.ll
Commit 1adc494bce44f6004994deed61b30d4b71fe1d05 by phosek
[CMake] Simplify CMake handling for zlib

Rather than handling zlib handling manually, use find_package from CMake
to find zlib properly. Use this to normalize the LLVM_ENABLE_ZLIB,
HAVE_ZLIB, HAVE_ZLIB_H. Furthermore, require zlib if LLVM_ENABLE_ZLIB is
set to YES, which requires the distributor to explicitly select whether
zlib is enabled or not. This simplifies the CMake handling and usage in
the rest of the tooling.

This is a reland of abb0075 with all followup changes and fixes that
should address issues that were reported in PR44780.

Differential Revision:
The file was modifiedllvm/cmake/modules/ (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/test/ (diff)
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/ (diff)
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp (diff)
The file was modifiedllvm/lib/Support/Compression.cpp (diff)
The file was modifiedllvm/lib/Support/CRC.cpp (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/ (diff)
The file was modifiedlld/test/CMakeLists.txt (diff)
The file was modifiedlldb/cmake/modules/LLDBStandalone.cmake (diff)
The file was modifiedllvm/lib/Support/CMakeLists.txt (diff)
The file was modifiedllvm/cmake/config-ix.cmake (diff)
The file was modifiedcompiler-rt/test/ (diff)
The file was modifiedllvm/test/ (diff)
The file was modifiedllvm/utils/gn/secondary/clang/test/ (diff)
The file was modifiedllvm/test/CMakeLists.txt (diff)
The file was modifiedclang/test/CMakeLists.txt (diff)
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (diff)
The file was modifiedlld/test/ (diff)
The file was modifiedllvm/unittests/Support/CompressionTest.cpp (diff)
The file was modifiedllvm/utils/gn/secondary/lld/test/ (diff)
The file was modifiedclang/test/ (diff)
The file was modifiedllvm/include/llvm/Config/config.h.cmake (diff)
Commit b216c80cc2496b87bf827260ce7e24dc62247d71 by i
[ELF] Allow SHF_LINK_ORDER sections to have sh_link=0

Part of

The semantics of SHF_LINK_ORDER have been extended to represent metadata
sections associated with some other sections (usually text).

The associated text section may be discarded (e.g. LTO) and we want the
metadata section to have sh_link=0 (D72899, D76802).

Normally the metadata section is only referenced by the associated text
section. sh_link=0 means the associated text section is discarded, and
the metadata section will be garbage collected. If there is another
section (.gc_root) referencing the metadata section, the metadata
section will be retained. It's the .gc_root consumer's job to validate
the metadata sections.

  # This creates a SHF_LINK_ORDER .meta with sh_link=0
  .section .meta,"awo",@progbits,0
  .section .meta,"awo",@progbits,foo

  .section .gc_root,"a",@progbits
  .quad 1b
  .quad 2b

Reviewed By: pcc, jhenderson

Differential Revision:
The file was modifiedlld/ELF/InputSection.cpp (diff)
The file was addedlld/test/ELF/linkorder-mixed.s
The file was modifiedlld/ELF/Writer.cpp (diff)
The file was modifiedlld/ELF/InputFiles.cpp (diff)
The file was removedlld/test/ELF/invalid/linkorder-invalid-sec2.test
Commit 820e8d8656ecf65ba29ea27c794c833f230c2698 by Jan Korous
[Analyzer][WebKit] UncountedLambdaCaptureChecker

Differential Revision:
The file was addedclang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp
The file was addedclang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/ (diff)
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CMakeLists.txt (diff)
The file was modifiedclang/docs/analyzer/checkers.rst (diff)
Commit eb45b978b7d646a7fb96a2734e44d03b2a066dfa by i
[ELF][test] Add REQUIES: x86 and -triple=x86_64 to linkorder-mixed.s
The file was modifiedlld/test/ELF/linkorder-mixed.s (diff)
Commit 279e4cf78262dfef560631d643b85aa2032ac566 by i
[ELF] Fix type of ciesWithLSDA after D84610
The file was modifiedlld/ELF/SyntheticSections.cpp (diff)