[llvm] [AMDGPU][SIInsertWaitcnts] drop OldWaitcntInstr only when it is processed (PR #145720)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 1 02:47:02 PDT 2025
================
@@ -2474,6 +2474,10 @@ bool SIInsertWaitcnts::insertWaitcntInBlock(MachineFunction &MF,
E = Block.instr_end();
Iter != E;) {
MachineInstr &Inst = *Iter;
+ if (Inst.isMetaInstruction()) {
----------------
jayfoad wrote:
Does this mean `generateWaitcntInstBefore` no longer has to worry about meta instruction, or could assert that it does not see them?
https://github.com/llvm/llvm-project/pull/145720
More information about the llvm-commits
mailing list