[all-commits] [llvm/llvm-project] 75f810: [Offload] Guard HSA implicit arguments if they are...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Mar 26 06:54:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75f810e02566f1d73d32a08257318ffdc4223140
      https://github.com/llvm/llvm-project/commit/75f810e02566f1d73d32a08257318ffdc4223140
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M offload/plugins-nextgen/amdgpu/src/rtl.cpp

  Log Message:
  -----------
  [Offload] Guard HSA implicit arguments if they aren't created (#133073)

Summary:
We conditionally allocate the implicit arguments, so they possibly are
null. The flang compiler seems to hit this case, even though it
shouldn't when it's supposed to conform to the HSA code object. For now
guard this to fix the regression and cover a case in the future where
someone rolls a fully custom implementatation.

Fixes: https://github.com/llvm/llvm-project/issues/132982



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list