[PATCH] D39777: [PowerPC] implement mayBeEmittedAsTailCall for PPC

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 7 18:38:00 PST 2017


sfertile created this revision.

Implements TargetLowering callback 'mayBeEmittedAsTailCall ' that enables CodeGenPrepare to duplicate returns when they might enable function to be tail-called.


Repository:
  rL LLVM

https://reviews.llvm.org/D39777

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCISelLowering.h
  test/CodeGen/PowerPC/duplicate-returns-for-tailcall.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39777.122022.patch
Type: text/x-patch
Size: 7677 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171108/cfdb1cc1/attachment.bin>


More information about the llvm-commits mailing list