[PATCH] D136342: [AArch64][SME] Set fn attributes correctly on __arm_tpidr2_save call.

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 11:39:57 PDT 2022


aemerson added inline comments.


================
Comment at: llvm/lib/Target/AArch64/SMEABIPass.cpp:68
   auto Attrs =
-      AttributeList::get(M->getContext(), 0, {"aarch64_pstate_sm_compatible"});
   FunctionCallee Callee =
----------------
No objections to the patch but I'm a bit confused why this didn't work? Seems like a footgun to me.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136342



More information about the llvm-commits mailing list