[all-commits] [llvm/llvm-project] 3dc413: [AMDGPU] Skip debug instruction uses while optimiz...
Yashwant Singh via All-commits
all-commits at lists.llvm.org
Sun Aug 6 23:06:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3dc413e25d6ccff9a9b7a3beffafef52be83e43c
https://github.com/llvm/llvm-project/commit/3dc413e25d6ccff9a9b7a3beffafef52be83e43c
Author: Yashwant Singh <Yashwant.Singh at amd.com>
Date: 2023-08-07 (Mon, 07 Aug 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/SIOptimizeVGPRLiveRange.cpp
A llvm/test/CodeGen/AMDGPU/si-optimize-vgpr-live-range-dbg-instr.ll
A llvm/test/CodeGen/AMDGPU/si-optimize-vgpr-live-range-dbg-instr.mir
Log Message:
-----------
[AMDGPU] Skip debug instruction uses while optimizing live range of a reg in SIOptimizeVGPRLiveRange
This will prevent the `assert(!O.readsReg())` from firing in
SIOptimizeVGPRLiveRange::optimizeLiveRange
Fix for #64163
Reviewed By: arsenm, #amdgpu
Differential Revision: https://reviews.llvm.org/D156893
More information about the All-commits
mailing list