[PATCH] D64596: [AMDGPU] Skip calculating callee saved registers for entry function.
Michael Liao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 14:16:35 PDT 2019
hliao marked an inline comment as done.
hliao added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIFrameLowering.cpp:985-986
SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>();
+ if (MFI->isEntryFunction())
+ return;
+
----------------
arsenm wrote:
> Why wouldn't this skip the base call?
to resize the SavedVGPRs to the proper size in case any code may break on that
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64596/new/
https://reviews.llvm.org/D64596
More information about the llvm-commits
mailing list