[PATCH] D82085: [TRE] allow TRE for non-capturing calls.
Alexey Lapshin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 23 14:32:16 PDT 2020
avl updated this revision to Diff 272829.
avl edited the summary of this revision.
avl added a comment.
addressed comments:
1. removed PointerMayBeCaptured() used for CalledFunction.
2. rewrote CanTRE() to visiting instructions only once.
3. replaced areAllLastFuncCallsRecursive() with isInTREPosition().
I did not address request for not using AllocaDerivedValueTracker yet.
Since there is open question on it. I would address it as soon as the question would be resolved.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82085/new/
https://reviews.llvm.org/D82085
Files:
llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp
llvm/test/Transforms/TailCallElim/tre-noncapturing-alloca-calls.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82085.272829.patch
Type: text/x-patch
Size: 15265 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200623/7021550d/attachment-0001.bin>
More information about the cfe-commits
mailing list