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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 2 21:12:18 PDT 2019


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp:4025
+  case Intrinsic::frameaddress:
+  case Intrinsic::returnaddress: {
+    MachineFunction &MF = *I.getParent()->getParent();
----------------
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


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