[llvm] [NFC][AMDGPU] print more info when debugging InsertWaitCnts pass (PR #144629)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 17 21:11:29 PDT 2025
================
@@ -1265,10 +1272,15 @@ bool WaitcntGeneratorPreGFX12::applyPreexistingWaitcnt(
MachineInstr *WaitcntInstr = nullptr;
MachineInstr *WaitcntVsCntInstr = nullptr;
+ LLVM_DEBUG(dbgs() << "PreGFX12::applyPreexistingWaitcnt at: " << *It << "\n");
----------------
arsenm wrote:
```suggestion
LLVM_DEBUG(dbgs() << "PreGFX12::applyPreexistingWaitcnt at: " << *It);
```
Newline is already included in MachineInstr <<
https://github.com/llvm/llvm-project/pull/144629
More information about the llvm-commits
mailing list