[PATCH] D42006: AArch64: Omit callframe setup/destroy when not necessary

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 15:19:39 PST 2018


efriedma added a comment.

Various backends handle this situation different ways... ARM emits an inline loop, x86  and x86 emit an inline loop rather than a call.  PowerPC has a utility createMemcpyOutsideCallSeq which avoids nesting.  And this would introduce, essentially, a third way to handle it.  We should probably settle on one solution, if possible.

Some target-independent code has special handling for callframe operations... but I guess most of the handling isn't necessary?  Does a call without call frame setup instructions correctly disable the red zone?


Repository:
  rL LLVM

https://reviews.llvm.org/D42006





More information about the llvm-commits mailing list