SuccessChanges

Summary

  1. scan-build-py: fix multiprocessing error (details)
  2. [LangRef] Adjust guarantee for llvm.memcpy to also allow equal arguments. (details)
  3. [InstSimplify] Add tests for a peculiar abs of abs form (NFC) (details)
  4. [Hexagon] Handle widening of vector truncate (details)
Commit 0c642828612dbde30decff6fb080af4de9a173bd by lawrence_danna
scan-build-py: fix multiprocessing error

Recent versions of python3's multiprocessing module will blow up with
a Runtime error from this code, saying:

  An attempt has been made to start a new process before the
  current process has finished its bootstrapping phase

This is becuae the wrappers in bin/ are not using the  `__name__ == "__main__"`   idiom correctly.

Reviewed By: ldionne

Differential Revision: https://reviews.llvm.org/D87051
The file was modifiedclang/tools/scan-build-py/bin/scan-build
The file was modifiedclang/tools/scan-build-py/bin/analyze-build
The file was modifiedclang/tools/scan-build-py/bin/intercept-build
Commit 1ddb3a369f7ebdf738486cd60261c3143658c0e6 by flo
[LangRef] Adjust guarantee for llvm.memcpy to also allow equal arguments.

This adjusts the description of `llvm.memcpy` to also allow operands
to be equal. This is in line with what Clang currently expects.

This change is intended to be temporary and followed by re-introduce
a variant with the non-overlapping guarantee for cases where we can
actually ensure that property in the front-end.

See the links below for more details:
http://lists.llvm.org/pipermail/cfe-dev/2020-August/066614.html
and PR11763.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D86815
The file was modifiedllvm/test/Analysis/MemorySSA/basicaa-memcpy.ll
The file was modifiedllvm/test/Analysis/BasicAA/assume.ll
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/test/Analysis/BasicAA/guards.ll
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memset-and-memcpy.ll
The file was modifiedllvm/test/Analysis/BasicAA/cs-cs.ll
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll
Commit 621b10ca187bdd6de691338e48b288ea1c6a5822 by nikita.ppv
[InstSimplify] Add tests for a peculiar abs of abs form (NFC)

This pattern shows up when canonicalizing to spf abs form to
intrinsic abs form.
The file was modifiedllvm/test/Transforms/InstSimplify/abs_intrinsic.ll
Commit 1387f96ab3310678df62c1073346ca387a85f656 by kparzysz
[Hexagon] Handle widening of vector truncate
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.cpp
The file was removedllvm/test/CodeGen/Hexagon/autohvx/short-store-widen.ll
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLowering.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonPatternsHVX.td
The file was addedllvm/test/CodeGen/Hexagon/autohvx/isel-widen-store.ll
The file was addedllvm/test/CodeGen/Hexagon/autohvx/isel-widen-truncate.ll
The file was modifiedllvm/test/CodeGen/Hexagon/autohvx/isel-truncate.ll