[llvm-branch-commits] [clang] [HLSL] Use memcpy for HLSL buffer copies that don't have padding (PR #173093)

Steven Perron via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Dec 20 04:34:35 PST 2025


https://github.com/s-perron commented:

I think this can cause issues in the spirv backend. I believe some optimizations will replace short memcopy with a load and store of integers regardless of the actual type of the memory. That does not translate well to spirv. 

https://github.com/llvm/llvm-project/pull/173093


More information about the llvm-branch-commits mailing list