[PATCH] D15341: Separate CSRs into a subset handled via explicit copies and a subset handled by prologue/epilogue (AArch64)

Manman Ren via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 15 12:37:06 PST 2015


manmanren marked 7 inline comments as done.
manmanren added a comment.

Addressing review comments,

Cheers,
Manman


================
Comment at: lib/Target/AArch64/AArch64RegisterInfo.cpp:61
@@ +60,3 @@
+  assert(MF && "Invalid MachineFunction pointer.");
+  if (MF->getFunction()->getCallingConv() == CallingConv::CXX_FAST_TLS &&
+      MF->getInfo<AArch64FunctionInfo>()->isSplitCSR())
----------------
If we are going to support other calling conventions with split CSR, it will be listed here with "else if", so we know which corresponding ViaCopy_SaveList to use. Similarly in getCalleeSavedRegs above.


http://reviews.llvm.org/D15341





More information about the llvm-commits mailing list