[PATCH] D52895: [TailCallElim] Enable marking of calls with byval as tails

Robert Lougher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 5 07:55:31 PDT 2018


rob.lougher updated this revision to Diff 168473.
rob.lougher added a comment.

I've updated the patch with the following changes:

1. Added a new inline test with local alloca.
2. Re-worded inline test comment.
3. Modified the first TailCallElim test to check that a byval parameter is neither an escape point or a use of the alloca.


https://reviews.llvm.org/D52895

Files:
  lib/Transforms/Scalar/TailRecursionElimination.cpp
  test/Transforms/Inline/byval-tail-call.ll
  test/Transforms/TailCallElim/basic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52895.168473.patch
Type: text/x-patch
Size: 3649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181005/d1a619dd/attachment.bin>


More information about the llvm-commits mailing list