[PATCH] D111150: [AMDGPU] Remove dead frame indices after sgpr spill.

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 5 12:27:22 PDT 2021


rampitec added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp:451
+  // freed frame indices by later pass(es) like "stack slot coloring".
+  std::set<int> DeadFrameIndices;
   for (auto &R : SGPRToVGPRSpills) {
----------------
DenseSet, avoid std:: when possible.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111150



More information about the llvm-commits mailing list