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

Hiroshi Inoue via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 11:00:23 PDT 2017


inouehrs 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:
----------------
In my understanding, ELFv1 uses small code model (please consult with ABI document). If so we need to check ELFv2 ABI.


Repository:
  rL LLVM

https://reviews.llvm.org/D34245





More information about the llvm-commits mailing list