summaryrefslogtreecommitdiff
path: root/test/Other
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-10-22 03:03:52 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-10-22 03:03:52 +0000
commit18b1f4e7692f6a42d8e64d4b7c50a73b2aeacd90 (patch)
tree07f5ea4186a3c17e3b89385237c7123ed6d0fb78 /test/Other
parentd581b9e61ff782e30cbd097b154213197033db0a (diff)
downloadllvm-18b1f4e7692f6a42d8e64d4b7c50a73b2aeacd90.tar.gz
llvm-18b1f4e7692f6a42d8e64d4b7c50a73b2aeacd90.tar.bz2
llvm-18b1f4e7692f6a42d8e64d4b7c50a73b2aeacd90.tar.xz
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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
0 files changed, 0 insertions, 0 deletions