llvm-6502/lib
Chris Lattner 4b7b42c831 Dan recently disabled recursive inlining within a function, but we
were still inlining self-recursive functions into other functions.

Inlining a recursive function into itself has the potential to
reduce recursion depth by a factor of 2, inlining a recursive
function into something else reduces recursion depth by exactly 
1.  Since inlining a recursive function into something else is a
weird form of loop peeling, turn this off.

The deleted testcase was added by Dale in r62107, since then
we're leaning towards not inlining recursive stuff ever.  In any
case, if we like inlining recursive stuff, it should be done 
within the recursive function itself to get the algorithm 
recursion depth win.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102798 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-30 22:37:22 +00:00
..
Analysis Dan recently disabled recursive inlining within a function, but we 2010-04-30 22:37:22 +00:00
Archive silence a warning, patch by "mike". 2010-04-25 04:44:26 +00:00
AsmParser reject invalid comma stuff with a message. We reject the case in 2010-04-23 00:50:50 +00:00
Bitcode Revert 101465, it broke internal OpenGL testing. 2010-04-16 23:37:20 +00:00
CodeGen EXTRACT_VECTOR_ELT of an INSERT_VECTOR_ELT may have the same index, but the 2010-04-30 22:19:17 +00:00
CompilerDriver Use FindExecutable as a fall-back search method. 2010-03-05 04:46:28 +00:00
ExecutionEngine Fix the OProfileJITEventListener build after r101844 removed 2010-04-30 00:16:10 +00:00
Linker Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some 2010-02-16 14:50:09 +00:00
MC Add support for assemblers that don't support periods in a name 2010-04-29 04:00:56 +00:00
Support Fix typo. add a test case. 2010-04-19 20:31:39 +00:00
System This doesn't need SmallVector.h anymore. 2010-04-19 17:51:31 +00:00
Target Make this code less confusing. Instead of reassigning BB, just operate 2010-04-30 20:14:26 +00:00
Transforms Preserve debug info attached with call instruction while eliminating dead argument. 2010-04-30 20:23:54 +00:00
VMCore Verify metadata harder. In particular, check that module 2010-04-29 16:10:30 +00:00
Makefile