[PATCH] D62686: [RISCV] Add support for save/restore of callee-saved registers via libcalls

Ana Pazos via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 14 17:28:13 PDT 2019


apazos added a comment.

Yes Eli thanks for pointing out  there are more scenarios that can fail.
It looks like the best solution is to permit both flags on, but then bail out from doing this transformation if there is any type of tail call already in the function.
This way we avoid messing with reverting tail calls back to regular calls.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D62686





More information about the cfe-commits mailing list