llvm
431a821c - [SPIRV] Add support for selection of G_MEMCPY_INLINE (#201925)

Commit
60 days ago
[SPIRV] Add support for selection of G_MEMCPY_INLINE (#201925) `G_MEMCPY_INLINE` is the same as `G_MEMCPY` but it's supposed to guarantee the instruction will not be lowered to an external function call. This is useful for projects like `libc`. In SPIR-V, we would never lower to an external function call, we always lower `G_MEMCPY` to `OpCopyMemory` or `OpCopyMemorySized`, or the copy is optimized out, so we should be able to handle `G_MEMCPY_INLINE` and `G_MEMCPY` the same. Co-Authored-By: Claude Opus 4.8 [noreply@anthropic.com](mailto:noreply@anthropic.com) Signed-off-by: Nick Sarnie <nick.sarnie@intel.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Author
Parents
Loading