[PATCH] D53673: [COFF, ARM64] Implement Intrinsic.sponentry for AArch64

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 26 13:11:25 PDT 2018


efriedma added a subscriber: majnemer.
efriedma added a comment.

All new target-independent intrinsics need to be documented in LangRef.

Thinking about it a bit, this seems like a reasonable intrinsic to support across all (or at least most) targets; the meaning is well-defined, and it can't be computed from any of the other frame-related intrinsics, so I think it makes sense to support cross-platform.

That said, maybe instead of adding a new intrinsic, we should rename llvm.addressofreturnaddress?  It's the same thing on x86, and addressofreturnaddress doesn't really make sense on other targets anyway.


Repository:
  rL LLVM

https://reviews.llvm.org/D53673





More information about the llvm-commits mailing list