diff options
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2021-06-09 23:35:22 +0200 |
---|---|---|
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | 2021-06-24 14:47:24 -0500 |
commit | 1eda5453f2dcc9a9a4b4578fe74163c529974503 (patch) | |
tree | 93fd3da0978799eb1c6bffa44df2f2bdb5685200 /llvm/lib/Support/StringRef.cpp | |
parent | b3ccf4fc02cdb12eb0929ad9f9dfdec39b785e6a (diff) | |
download | llvm-1eda5453f2dcc9a9a4b4578fe74163c529974503.zip llvm-1eda5453f2dcc9a9a4b4578fe74163c529974503.tar.gz llvm-1eda5453f2dcc9a9a4b4578fe74163c529974503.tar.bz2 |
[BuildLibCalls/SimplifyLibCalls] Fix attributes on created CallInst instructions.
- When emitting libcalls, do not only pass the calling convention from the
function prototype but also the attributes.
- Do not pass attributes from e.g. libc memcpy to llvm.memcpy.
Review: Reid Kleckner, Eli Friedman, Arthur Eubanks
Differential Revision: https://reviews.llvm.org/D103992
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions