[PATCH] D40893: [PowerPC] fix a bug in TCO eligibility check

Tony Jiang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 20 06:41:27 PST 2017


jtony added a comment.

LGTM.



================
Comment at: lib/Target/PowerPC/PPCISelLowering.cpp:4408
+  // We can safely tail call both fastcc and ccc callees from a c calling
+  // convention caller. If the caller is fastcc, we may have less stack space
+  // then a non-fastcc caller with the same signature so disable tail-calls in
----------------
then->than


https://reviews.llvm.org/D40893





More information about the llvm-commits mailing list