SuccessChanges

Summary

  1. [FunctionAttrs] Inline setDoesNotRecurse() and delete it. NFC (details)
  2. [tools][remarks-shlib] Don't build libRemarks.so without PIC (details)
  3. [X86] Rename combineExtInVec to combineEXTEND_VECTOR_INREG. NFCI. (details)
  4. [MemLoc] Support lllvm.memcpy.inline in MemoryLocation::getForArgument (details)
Commit 871d03a6751e0f82e210c80a881ef357c5633a26 by i
[FunctionAttrs] Inline setDoesNotRecurse() and delete it. NFC

It always returns true, which may lead to confusion. Inline it because it is
trivial and only called twice.
The file was modifiedllvm/lib/Transforms/IPO/FunctionAttrs.cpp
Commit 26947d7b63809413b96b0bb6033f168488836289 by ro
[tools][remarks-shlib] Don't build libRemarks.so without PIC

A build on `sparcv9-sun-solaris2.11` with `-DLLVM_ENABLE_PIC=Off` failed
linking `libRemarks.so`:

  [27/2297] Linking CXX shared library lib/libRemarks.so.12git
  FAILED: lib/libRemarks.so.12git
  [...]
  ld: fatal: relocation error: R_SPARC_H44: file lib/libLLVMRemarks.a(Remark.cpp.o): symbol _ZTVN4llvm18raw_string_ostreamE: invalid shared object relocation type: ABS44 code model unsupported
  [...]

On Solaris/sparcv9 as on many other targets you cannot link non-PIC objects
into a shared object.

The following patch avoids this by not building the library with PIC.  It
allowed the build to complete and `ninja check-all` showed no errors.

Differential Revision: https://reviews.llvm.org/D85626
The file was modifiedllvm/tools/remarks-shlib/CMakeLists.txt
Commit e17686ae60faa85857e61052632bb6e6c0230ae0 by llvm-dev
[X86] Rename combineExtInVec to combineEXTEND_VECTOR_INREG. NFCI.

Make it easier to find the method by naming it after the ops it actually handles. We already do this for lowering.
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 2990518b0324eedca455b2bbf93b69f287dd6d52 by Dávid Bolvanský
 [MemLoc] Support lllvm.memcpy.inline in MemoryLocation::getForArgument

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D87971
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memset-and-memcpy.ll
The file was modifiedllvm/lib/Analysis/MemoryLocation.cpp
The file was modifiedllvm/test/Transforms/DeadStoreElimination/MSSA/memintrinsics.ll