summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
diff options
context:
space:
mode:
authorKeno Fischer <kfischer@college.harvard.edu>2014-08-20 19:00:37 +0000
committerKeno Fischer <kfischer@college.harvard.edu>2014-08-20 19:00:37 +0000
commitd750723d291dc6cd9295b7b0643b71d8cd9fbab2 (patch)
tree38cc699f6664b9f8e0dfa760e1f56d4ab992a6a4 /llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp
parent314c643b4a80f71d12024b495e6c626ea5ca860b (diff)
downloadbcm5719-llvm-d750723d291dc6cd9295b7b0643b71d8cd9fbab2.tar.gz
bcm5719-llvm-d750723d291dc6cd9295b7b0643b71d8cd9fbab2.zip
Do not insert a tail call when returning multiple values on X86
Summary: This fixes http://llvm.org/bugs/show_bug.cgi?id=19530. The problem is that X86ISelLowering erroneously thought the third call was eligible for tail call elimination. It would have been if it's return value was actually the one returned by the calling function, but here that is not the case and additional values are being returned. Test Plan: Test case from the original bug report is included. Reviewers: rafael Reviewed By: rafael Subscribers: rafael, llvm-commits Differential Revision: http://reviews.llvm.org/D4968 llvm-svn: 216117
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud