[PATCH] D34245: [PowerPC] Refine the checking for emiting TOC restore nops and Tail-Call eligibility.

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 11:50:40 PDT 2017


sfertile added inline comments.


================
Comment at: lib/Target/PowerPC/PPCISelLowering.cpp:4252
+    return !TT.isOSDarwin() &&
+           (TT.getArch() == Triple::ppc64 || TT.getArch() == Triple::ppc64le);
+  case CodeModel::Small:
----------------
inouehrs wrote:
> In my understanding, ELFv1 uses small code model (please consult with ABI document). If so we need to check ELFv2 ABI.
I thought the V1 ABI used small code model for 32 bit and medium code model for 64 bit, but I'll double check.


Repository:
  rL LLVM

https://reviews.llvm.org/D34245





More information about the llvm-commits mailing list