[PATCH] D76883: [AMDGPU] Implement CFI for CSR spills
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 16 09:12:23 PDT 2022
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp:217
+ const TargetRegisterClass *RC =
+ TRI->getMinimalPhysRegClass(RetAddrReg, MVT::i64);
+ int JunkFI = MFI.CreateStackObject(TRI->getSpillSize(*RC),
----------------
Should avoid using getMinimalPhysRegClass, should just hardcode a 64-bit scalar class
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76883/new/
https://reviews.llvm.org/D76883
More information about the llvm-commits
mailing list