[llvm] [offload] add handling of memory alignment to MemoryManagerTy (PR #218418)

Jan Trusiłło via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 05:59:15 PDT 2026


================

----------------
311Volt wrote:

It would work but I still suggest to not mutate `Size` and save the new size in another variable.

My point is, `const int B = findBucket(AllocSize);` would have made the initial bug more visible

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


More information about the llvm-commits mailing list