[PATCH] D105271: [PowerPC][ELF]make sure local variable space does not overlap with parameter save area

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 9 11:38:47 PDT 2021


jsji added a comment.

> Because the parameter size is 36 bytes, it can be passed by registers, so current CalculateStackSlotUsed return false. But because the byval parameter may be assumed in caller's parameter save area in the callee in other compiler, so we must also store the byval parameter in parameter save area of the caller function.

This doesn't sound that CalculateStackSlotUsed is doing the right job?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105271



More information about the llvm-commits mailing list