[all-commits] [llvm/llvm-project] e831a3: [Clang][OpenMP] Clang adding the addrSpace accordi...

Aaron Jarmusch via All-commits all-commits at lists.llvm.org
Tue Sep 12 12:44:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e831a32c93c1ab404785773cc7c08c01730d61e5
      https://github.com/llvm/llvm-project/commit/e831a32c93c1ab404785773cc7c08c01730d61e5
  Author: Aaron Jarmusch <61516473+ajarmusch at users.noreply.github.com>
  Date:   2023-09-12 (Tue, 12 Sep 2023)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    A clang/test/OpenMP/test_target_uses_allocators_large_cap_codegen.cpp

  Log Message:
  -----------
  [Clang][OpenMP] Clang adding the addrSpace according to DataLayout fix (#65483)

Fix for an issue where clang was not adding the address space according
to the data layout, instead was using the default which resulted in a
crash at times. The fix includes changes to the cases of
LargeCapMemAlloc and CGroupMemAlloc where we are setting the AddrSpace
according to the DataLayout.




More information about the All-commits mailing list