[PATCH] D76130: [PPC][AIX] Implement variadic function handling in LowerFormalArguments_AIX

Zarko Todorovski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 18 07:02:58 PDT 2020


ZarkoCA marked 8 inline comments as done.
ZarkoCA added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:7088
+           GPRIndex < NumGPArgRegs; ++GPRIndex) {
+        unsigned VReg = MF.getRegInfo().getLiveInVirtReg(
+            IsPPC64 ? GPR_64[GPRIndex] : GPR_32[GPRIndex]);
----------------
jasonliu wrote:
> Just curious, in what scenario would we already have the GPR stored in a virtual register before we store that GPR on that stack?
I don't think we need to include that, it was a remnant from an earlier prototype I had. Thanks for pointing it out. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76130





More information about the cfe-commits mailing list