SuccessChanges

Summary

  1. scan-build-py: fix multiprocessing error (details)
  2. [LangRef] Adjust guarantee for llvm.memcpy to also allow equal arguments. (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/intercept-build (diff)
The file was modifiedclang/tools/scan-build-py/bin/scan-build (diff)
The file was modifiedclang/tools/scan-build-py/bin/analyze-build (diff)
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/docs/LangRef.rst (diff)
The file was modifiedllvm/test/Analysis/BasicAA/cs-cs.ll (diff)
The file was modifiedllvm/test/Analysis/MemorySSA/basicaa-memcpy.ll (diff)
The file was modifiedllvm/test/Analysis/BasicAA/guards.ll (diff)
The file was modifiedllvm/test/Analysis/BasicAA/assume.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll (diff)
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memset-and-memcpy.ll (diff)
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp (diff)