SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [ELF][PPC64] Improve "call lacks nop" diagnostic and make it compatible (details)
  2. [Attributor] Use `changeUseAfterManifest` in AAValueSimplify manifest (details)
  3. [NFC] Add test for load-insert-store pattern (details)
Commit bb87364f26ce6b1fbb2cc5e155fd8ff82aafbe8d by maskray
[ELF][PPC64] Improve "call lacks nop" diagnostic and make it compatible
with GCC<5.5 and GCC<6.4
GCC before r245813 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79439)
did not emit nop after b/bl. This can happen with recursive calls.
r245813 was back ported to GCC 5.5 and GCC 6.4.
This is common, for example, libstdc++.a(locale.o) shipped with GCC 4.9
and many objects in netlib lapack can cause lld to error.  gold allows
such calls to the same section. Our __plt_foo symbol's `section` field
is used for ThunkSection, so we can't implement a similar loosen rule
easily. But we can make use of its `file` field which is currently NULL.
Differential Revision: https://reviews.llvm.org/D71639
The file was modifiedlld/test/ELF/ppc64-bsymbolic-toc-restore.s
The file was modifiedlld/ELF/InputSection.cpp
The file was modifiedlld/test/ELF/ppc64-error-toc-tail-call.s
The file was modifiedlld/ELF/Thunks.cpp
The file was modifiedlld/test/ELF/ppc64-error-toc-restore.s
Commit 34fe8d0451174829529bb8da8ad0c631825e16e0 by uenoku.tokotoko
[Attributor] Use `changeUseAfterManifest` in AAValueSimplify manifest
Summary: This patch makes `AAValueSimplify` use
`changeUsesAfterManifest` in `manifest`. This will invoke simple folding
after the manifest.
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: hiraditya, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D71972
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/2008-07-02-array-indexing.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/reserve-tbaa.ll
The file was modifiedllvm/test/Transforms/Attributor/ArgumentPromotion/control-flow2.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/Attributor/value-simplify.ll
Commit 65661908cb660ac55110d5031111f956cdbd3efa by qiucofan
[NFC] Add test for load-insert-store pattern
This patch adds necessary test cases for load-update-store pattern which
only updates single element of vector.
Differential Revision: https://reviews.llvm.org/D71886
The file was addedllvm/test/Transforms/InstCombine/load-insert-store.ll