SuccessChanges

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

Summary

  1. [TargetLibraryInfo] memcpy and memset have optimized codegen. (details)
  2. [compiler-rt] Don't error out on missing builtins when builting builtins themselves (details)
Commit 521b216094340e7934c1dd7905982cc778237cb8 by courbet
[TargetLibraryInfo] memcpy and memset have optimized codegen.

Summary:
Add memcpy and memset to the list of function with optimized codegen.
hasOptimizedCodeGen() was returning false for them.
This was not an issue when working with c++ as clang typically emits an
intrinsic rather than a libfunc call, but when working with IR,
this would cause some issues with sanitizers which would not correctly
mark the function as nobuiltin in `maybeMarkSanitizerLibraryCallNoBuiltin()`.

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78991
The file was modifiedllvm/include/llvm/Analysis/TargetLibraryInfo.h
Commit 54a85240709ecbcab329fb39af8ba5d6cd565305 by martin
[compiler-rt] Don't error out on missing builtins when builting builtins themselves

This fixes bootstrapping the builtins when no previous version of
them exists after 2fe66bdb2e5fb556e15d4a07158e89ec007c587b.

Also fix a whitespace issue in that commit.
The file was modifiedcompiler-rt/cmake/Modules/AddCompilerRT.cmake