commit | 544f14c6b2a07a94168df31833dba9dc35fd8289 | [log] [tgz] |
---|---|---|
author | Simon Dardis <simon.dardis@imgtec.com> | Sun Nov 20 21:23:08 2016 +0000 |
committer | Simon Dardis <simon.dardis@imgtec.com> | Sun Nov 20 21:23:08 2016 +0000 |
tree | 26d9f6484be2c3aae70dc5ef12e346cfd7e13fec | |
parent | cbc1c49eda733ab54834db7af2b50a1ec52d05c8 [diff] |
[mips] Restrict tail call optimization The tail call optimization was being used without proper consideration of ABI requirements for saving and restoring the GP. This patch restricts tail call optimization to functions within the same translation unit. Reviewers: vkalintiris Differential Revision: https://reviews.llvm.org/D24763 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287505 91177308-0d34-0410-b5e6-96231b3b80d8