summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/tailcall-multiret.ll
Commit message (Collapse)AuthorAgeFilesLines
* Do not insert a tail call when returning multiple values on X86Keno Fischer2014-08-201-0/+16
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
OpenPOWER on IntegriCloud