aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodePlacementOpt.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
commit7a8cfafd2e0f8e4ea4b2740ea0aa1b4bdeec5835 (patch)
tree5b4c41ac4e0f34fd60168e0544defdc5a1aae340 /llvm/lib/CodeGen/CodePlacementOpt.cpp
parent1bbffbceaedf8a101a8f5ce34b0de94ea0bc1f85 (diff)
downloadllvm-7a8cfafd2e0f8e4ea4b2740ea0aa1b4bdeec5835.zip
llvm-7a8cfafd2e0f8e4ea4b2740ea0aa1b4bdeec5835.tar.gz
llvm-7a8cfafd2e0f8e4ea4b2740ea0aa1b4bdeec5835.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. llvm-svn: 71168
Diffstat (limited to 'llvm/lib/CodeGen/CodePlacementOpt.cpp')
0 files changed, 0 insertions, 0 deletions