diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-10-22 03:03:52 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-10-22 03:03:52 +0000 |
commit | 8b67e1e0b9f75236ccf6119b8249c230a309c9de (patch) | |
tree | 7b52f5c5d44456cb9c6eef4a72879060ebbad7a8 /lldb/scripts/Python/build-swig-Python.sh | |
parent | 60d56d2eea97e67faf97981e5fb9e058131b7514 (diff) | |
download | bcm5719-llvm-8b67e1e0b9f75236ccf6119b8249c230a309c9de.tar.gz bcm5719-llvm-8b67e1e0b9f75236ccf6119b8249c230a309c9de.zip |
Reapply r166405, teaching tailcallelim to be smarter about nocapture, with a
very small but very important bugfix:
bool shouldExplore(Use *U) {
Value *V = U->get();
if (isa<CallInst>(V) || isa<InvokeInst>(V))
[...]
should have read:
bool shouldExplore(Use *U) {
Value *V = U->getUser();
if (isa<CallInst>(V) || isa<InvokeInst>(V))
Fixes PR14143!
llvm-svn: 166407
Diffstat (limited to 'lldb/scripts/Python/build-swig-Python.sh')
0 files changed, 0 insertions, 0 deletions