[PATCH] D124246: [AMDGPU] Adjust wave priority based on VMEM instructions to avoid duty-cycling.
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 26 02:44:48 PDT 2022
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp:136
+
+ if (CanLowerPriorityDirectlyInPredecessors(MBB, MBBInfos)) {
+ for (MachineBasicBlock *Pred : MBB.predecessors()) {
----------------
A very minor point: you only lower priority in any predecessor if you can do it in all predecessors. Would it make sense to lower priority in some predecessors even if you can't do it in all of them?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124246/new/
https://reviews.llvm.org/D124246
More information about the llvm-commits
mailing list