[PATCH] D89754: [AMDGPU] Avoid inserting noops during scheduling

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 10:50:47 PDT 2020


foad added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp:605-633
-      // Combine adjacent s_nops to use the immediate operand encoding how long
-      // to wait.
-      //
-      // s_nop N
-      // s_nop M
-      //  =>
-      // s_nop (N + M)
----------------
kerbowa wrote:
> foad wrote:
> > Shouldn't this be part of the previous patch?
> The scheduler still emits noops one at a time. So we cannot remove this in the earlier patch.
Fair enough.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89754



More information about the llvm-commits mailing list