[llvm-commits] [llvm] r101969 - in /llvm/trunk: lib/Analysis/InlineCost.cpp test/Transforms/Inline/tail-recursion.ll

Chris Lattner clattner at apple.com
Tue Apr 20 21:20:39 PDT 2010


On Apr 20, 2010, at 5:43 PM, Dan Gohman wrote:

> Author: djg
> Date: Tue Apr 20 19:43:30 2010
> New Revision: 101969
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=101969&view=rev
> Log:
> Revert r101471. For tight recursive functions which have multiple
> recursive callsites, inlining can reduce the number of calls by
> exponential factors, as it does in
> MultiSource/Benchmarks/Olden/treeadd. More involved heuristics
> will be needed.

How about just disabling it for something-approximating-tail-calls?

-Chris




More information about the llvm-commits mailing list