[all-commits] [llvm/llvm-project] 158aba: [AMDGPU] Push amdgpu-preload-kern-arg-prolog after...

Scott Linder via All-commits all-commits at lists.llvm.org
Mon Feb 17 10:27:57 PST 2025


  Branch: refs/heads/users/slinder1/02-06-_amdgpu_push_amdgpu-preload-kern-arg-prolog_after_livedebugvalues
  Home:   https://github.com/llvm/llvm-project
  Commit: 158abadbe998acc4ab70da3e4af0af1c4ff3b989
      https://github.com/llvm/llvm-project/commit/158abadbe998acc4ab70da3e4af0af1c4ff3b989
  Author: Scott Linder <Scott.Linder at amd.com>
  Date:   2025-02-17 (Mon, 17 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll

  Log Message:
  -----------
  [AMDGPU] Push amdgpu-preload-kern-arg-prolog after livedebugvalues

This is effectively a workaround for a bug in livedebugvalues, but seems
to potentially be a general improvement, as BB sections seems like it
could ruin the special 256-byte prelude scheme that
amdgpu-preload-kern-arg-prolog requires anyway. Moving it even later
doesn't seem to have any material impact, and just adds livedebugvalues
to the list of things which no longer have to deal with pseudo
multiple-entry functions.

AMDGPU debug-info isn't supported upstream yet, so the bug being avoided
isn't testable here. I am posting the patch upstream to avoid an
unnecessary diff with AMD's fork.



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