This will prevent the assert(!O.readsReg()) from firing in
SIOptimizeVGPRLiveRange::optimizeLiveRange
Fix for #64163
Paths
| Differential D156893
[AMDGPU] Skip debug instruction uses while optimizing live range of a reg in SIOptimizeVGPRLiveRange ClosedPublic Authored by yassingh on Aug 2 2023, 7:08 AM.
Details
Summary This will prevent the assert(!O.readsReg()) from firing in Fix for #64163
Diff Detail
Event Timeline
yassingh marked an inline comment as done. Comment Actions Don't know where the debug info went, MIR or less deletable test may be useful
This revision is now accepted and ready to land.Aug 2 2023, 7:22 AM Comment Actions
Will add a MIR test yassingh retitled this revision from [AMDGPU] Skip debug instruction uses while optimizing live range of a reg in SIOptimizeVGPRLiveRange to [AMDGPU] Skip debug instruction uses while optimizing live range of a reg in SIOptimizeVGPRLiveRange. Comment ActionsAdd MIR test This revision was landed with ongoing or failed builds.Aug 6 2023, 11:06 PM Closed by commit rG3dc413e25d6c: [AMDGPU] Skip debug instruction uses while optimizing live range of a reg in… (authored by yassingh). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 547648 llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp
llvm/test/CodeGen/AMDGPU/si-optimize-vgpr-live-range-dbg-instr.ll
llvm/test/CodeGen/AMDGPU/si-optimize-vgpr-live-range-dbg-instr.mir
|
I don't know where the debug info went in the output