[PATCH] D40893: [PowerPC] fix a bug in TCO eligibility check
Sean Fertile via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 6 17:55:43 PST 2017
sfertile added a comment.
Looks good to me.
================
Comment at: test/CodeGen/PowerPC/ppc64-sibcall.ll:44
+define fastcc void @callee_64_64_copy_fastcc([8 x i64] %a, [8 x i64] %b) #0 { ret void }
+define void @caller_64_64_copy_ccc([8 x i64] %a, [8 x i64] %b) #1 {
----------------
We should add internal linkage here so the stack slot usage is the only thing blocking the tail-call.
https://reviews.llvm.org/D40893
More information about the llvm-commits
mailing list