[PATCH] D101629: [AMDGPU] Remove set_gpr_idx instructions in conditional blocks

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 30 11:31:31 PDT 2021


rampitec accepted this revision.
rampitec added a comment.

LGTM



================
Comment at: llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp:379
+    for (auto &MI :
+         make_early_inc_range(make_range(MBB.instr_begin(), MBB.instr_end()))) {
       if (Count == Threshold)
----------------
Wow, good to know this exists!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101629



More information about the llvm-commits mailing list