[PATCH] D104542: [M68k][GloballSel] Formal arguments lowering in IRTranslator

Min-Yih Hsu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 26 17:24:29 PDT 2021


myhsu added a comment.

Also, since M68k's calling convention uses stack to pass incoming parameters, I'm not surprised `M68kIncomingValueHandler::getStackAddress` is called by GlobalISel to generate proper MIR instructions.
I suggest you to use i386 (a.k.a 32-bit X86) as a reference to see how thing works there and how they implement IncomingValueHandler. Since i386 is also using stack to pass incoming parameters.


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

https://reviews.llvm.org/D104542



More information about the llvm-commits mailing list