[PATCH] D111150: [AMDGPU] Remove dead frame indices after sgpr spill.
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 6 03:00:56 PDT 2021
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp:454
MFI.RemoveStackObject(R.first);
+ SGPRToVGPRSpills.erase(R.first);
+ }
----------------
erase(R) should be slightly more efficient as it does not have to do another lookup in the map.
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