diff options
author | Clement Courbet <courbet@google.com> | 2020-04-27 10:45:41 +0200 |
---|---|---|
committer | Clement Courbet <courbet@google.com> | 2020-05-18 08:49:23 +0200 |
commit | 521b216094340e7934c1dd7905982cc778237cb8 (patch) | |
tree | 8d667da18c50fc8bbd896a94a38540daee2a8b90 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 7ee479a760e0a4402b4eb7fb6168768a44f66945 (diff) | |
download | llvm-521b216094340e7934c1dd7905982cc778237cb8.zip llvm-521b216094340e7934c1dd7905982cc778237cb8.tar.gz llvm-521b216094340e7934c1dd7905982cc778237cb8.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions