2 Commits

Author SHA1 Message Date
Artem Belevich
8f8df788ae Added missing test constraints. 2023-08-18 11:39:11 -07:00
Artem Belevich
72757343fa [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
2023-08-18 11:27:36 -07:00