[PATCH] D64081: AMDGPU: Look through bundles for existing waitcnts

Austin Kerbow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 09:09:51 PDT 2019


kerbowa added a comment.

What about the possibility of inserting waitcnt into bundles?



================
Comment at: lib/Target/AMDGPU/SIInsertWaitcnts.cpp:1360
 
-  for (MachineBasicBlock::iterator Iter = Block.begin(), E = Block.end();
+  for (MachineBasicBlock::instr_iterator Iter = Block.instr_begin(),
+                                         E = Block.instr_end();
----------------
Can we just skip BUNDLE instructions.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64081/new/

https://reviews.llvm.org/D64081





More information about the llvm-commits mailing list