diff options
author | Artem Belevich <tra@google.com> | 2023-08-17 13:30:26 -0700 |
---|---|---|
committer | Artem Belevich <tra@google.com> | 2023-08-18 11:27:36 -0700 |
commit | 72757343fa866b7bfcbaa67edad895297c8cb2c5 (patch) | |
tree | 7e031e7805f53ba3c9903dece8a5dbf25f0d4dbe /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | d22883e384e033e7646c7ed75a5b2e4ef56c4cd4 (diff) | |
download | llvm-72757343fa866b7bfcbaa67edad895297c8cb2c5.zip llvm-72757343fa866b7bfcbaa67edad895297c8cb2c5.tar.gz llvm-72757343fa866b7bfcbaa67edad895297c8cb2c5.tar.bz2 |
[CUDA/NVPTX] Improve handling of memcpy for -Os compilations.
We had some instances when LLVM would not inline fixed-count memcpy and ended up
attempting to lower it a a libcall, which would not work on NVPTX as there's no
standard library to call.
The patch relaxes the threshold used for -Os compilation so we're always allowed
to inline memory copy functions.
Differential Revision: https://reviews.llvm.org/D158226
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions