aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/TailRecursionElimination.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-05-07 18:08:34 +0000
committerDuncan Sands <baldrick@free.fr>2009-05-07 18:08:34 +0000
commita4edebc5c2665720a5bb69b0d5a1f167eb51d2fe (patch)
tree18271590fa0bba6ad40e9fa97efa3c791326bf90 /lib/Transforms/Scalar/TailRecursionElimination.cpp
parentd32c972780409e0415302847e3969acbb9ed9ad9 (diff)
downloadexternal_llvm-a4edebc5c2665720a5bb69b0d5a1f167eb51d2fe.zip
external_llvm-a4edebc5c2665720a5bb69b0d5a1f167eb51d2fe.tar.gz
external_llvm-a4edebc5c2665720a5bb69b0d5a1f167eb51d2fe.tar.bz2
Revert r70876 and add a testcase (@c7) showing the problem:
bits captured, but the pointer marked nocapture. In fact I now recall that this problem is why only readnone functions returning void were considered before! However keep a small fix that was also in r70876: a readnone function returning void can result in bits being captured if it unwinds, so test for this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71168 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/TailRecursionElimination.cpp')
0 files changed, 0 insertions, 0 deletions