[PATCH] D65019: [ARM] push LR before __gnu_mcount_nc on ARM

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 19 15:56:14 PDT 2019


efriedma added a comment.

I don't like introducing magic calling convention rules for a non-intrinsic function with a specific name; we should model this more explicitly somehow.  Probably the simplest thing to do would be to introduce an ARM intrinsic, lower it to a pseudo-instruction, and expand it late (in ExpandPostRAPseudos or something like that).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65019





More information about the llvm-commits mailing list