[PATCH] D65656: AArch64: support @llvm.{return,frame}address in GlobalISel

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 22:31:21 PDT 2019


aemerson added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp:4025
+  case Intrinsic::frameaddress:
+  case Intrinsic::returnaddress: {
+    MachineFunction &MF = *I.getParent()->getParent();
----------------
arsenm wrote:
> Should backends be directly consuming intrinsics like this? I would expect these to be lowered earlier, and select to never deal with a generic intrinsic
What else could these be lowered to?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65656





More information about the llvm-commits mailing list