diff options
author | Krzysztof Drewniak <Krzysztof.Drewniak@amd.com> | 2025-02-26 16:03:32 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-26 16:03:32 -0600 |
commit | 469757efafebdd5772d993fca4dc0dfa7cbda17c (patch) | |
tree | 5ae62d50d8e9211af8b3bbd6c8f045486fb14095 /clang/lib/Lex/ModuleMap.cpp | |
parent | 42526d240cc953963ea48bae0b4c2ab548e9d897 (diff) | |
download | llvm-469757efafebdd5772d993fca4dc0dfa7cbda17c.zip llvm-469757efafebdd5772d993fca4dc0dfa7cbda17c.tar.gz llvm-469757efafebdd5772d993fca4dc0dfa7cbda17c.tar.bz2 |
[AMDGPU] Handle memcpy()-like ops in LowerBufferFatPointers (#126621)
Since LowerBufferFatPointers runs before PreISelIntrinsicLowering, which
normally handles unsupported memcpy()s,, and since you can't have a
`noalias {ptr addrspace(8), i32}` becasue it crashes later passes,
manually expand memcpy()s involving buffer fat pointers to loops.
Additionally, though they're unlikely to be used, this commit adds
support for memset().
This commit doesn't implement writing direct-to-LDS loads as the
intrinsics, but leaves the option in the future.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions