Refine the detection of seemingly infinitely recursive calls where the
authorDan Gohman <gohman@apple.com>
Fri, 16 Apr 2010 15:57:50 +0000 (15:57 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 16 Apr 2010 15:57:50 +0000 (15:57 +0000)
commitea25b48af33be42e19236d8eac26bd42b45bcc1b
treef2b3d525b4e4b28749da88f1ae0a0ea181162c11
parent4ec2258ffb495d7ce00177e447740ef1123a27db
Refine the detection of seemingly infinitely recursive calls where the
callee is expected to be expanded to something else by codegen, so that
normal infinitely recursive calls are still transformed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101468 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/TailRecursionElimination.cpp
test/Transforms/TailCallElim/inf-recursion.ll