Shilei Tian 9ce74d6d47
[AMDGPU][CodeGen] Improve handling of memcpy for -Os/-Oz compilations (#87632)
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 AMDGPU as
the
address space doesn't meet the requirement, causing compiler crash.

The patch relaxes the threshold used for -Os/-Oz compilation so we're
always allowed
to inline memory copy functions.

This patch basically does the same thing as
https://reviews.llvm.org/D158226 for
AMDGPU.

Fix #88497.
2024-04-16 09:34:18 -04:00
..
2022-02-18 15:05:21 +01:00
2024-01-26 12:04:58 +01:00
2022-03-16 08:43:00 +01:00
2021-11-12 11:37:21 +01:00
2022-02-18 15:05:21 +01:00
2021-11-12 11:37:21 +01:00