aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleCache.cpp
diff options
context:
space:
mode:
authorDeric C. <cheung.deric@gmail.com>2025-05-19 09:34:58 -0700
committerGitHub <noreply@github.com>2025-05-19 09:34:58 -0700
commit12fb0d451bbdd1d1e8035197e4f5e47e8afa6141 (patch)
tree9cc74e11ec4d4a6ed56b50148b20bafca93c6bcc /clang/lib/Serialization/ModuleCache.cpp
parent5c3784023fcfa608d24364ca11cd688c5805a55e (diff)
downloadllvm-12fb0d451bbdd1d1e8035197e4f5e47e8afa6141.zip
llvm-12fb0d451bbdd1d1e8035197e4f5e47e8afa6141.tar.gz
llvm-12fb0d451bbdd1d1e8035197e4f5e47e8afa6141.tar.bz2
[DirectX] Legalize memcpy (#139173)
Fixes #137188 This PR legalizes memcpy for DXIL in cases where: - the src and dst arguments are from Alloca or a GlobalVariable, - the src and dst are pointers to an ArrayType, - the array element types of src and dst must be equivalent, and - the len param is a ConstantInt These assumptions simplify the legalization and, with the addition of #138991, covers the currently-known cases of memcpy that appear when compiling DML shaders. This PR may be unnecessary if #138788 determines that memset and memcpy can be eliminated entirely. --------- Co-authored-by: Finn Plummer <canadienfinn@gmail.com> Co-authored-by: Greg Roth <grroth@microsoft.com>
Diffstat (limited to 'clang/lib/Serialization/ModuleCache.cpp')
0 files changed, 0 insertions, 0 deletions