diff options
author | Duncan Sands <baldrick@free.fr> | 2009-05-07 18:08:34 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-05-07 18:08:34 +0000 |
commit | 1978426a94e3d3b53f488ffc56516e6e87906a0b (patch) | |
tree | 18271590fa0bba6ad40e9fa97efa3c791326bf90 /lib/CodeGen/RegAllocLocal.cpp | |
parent | 5b8479c38532a28d86dea8ded09a30ff68f26912 (diff) |
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/CodeGen/RegAllocLocal.cpp')
0 files changed, 0 insertions, 0 deletions