[llvm] [AMDGPU] Fixed llvm-debuginfo-analyzer for AMDGPU. (PR #145125)
Adam Yang via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 25 12:02:47 PDT 2025
================
@@ -130,6 +130,9 @@ void SIPreAllocateWWMRegs::rewriteRegs(MachineFunction &MF) {
if (VirtReg.isPhysical())
continue;
+ if (MI.isDebugInstr() && VirtReg == AMDGPU::NoRegister)
----------------
adam-yang wrote:
Made this change, also added a MIR test specifically for this.
https://github.com/llvm/llvm-project/pull/145125
More information about the llvm-commits
mailing list