diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-12-30 08:09:04 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2017-12-30 08:09:04 +0000 |
commit | ca3cdd7f27134525d28d740707c3cdb6b388b95a (patch) | |
tree | d92713ee4e0ac6e1284b529b9b100cd8c4c0414a /llvm/include/llvm/Support/CommandLine.h | |
parent | 0c958fba14bbe65cba7a0dbf5b63a2be2ee75213 (diff) | |
download | bcm5719-llvm-ca3cdd7f27134525d28d740707c3cdb6b388b95a.tar.gz bcm5719-llvm-ca3cdd7f27134525d28d740707c3cdb6b388b95a.zip |
[PowerPC] fix a bug in TCO eligibility check
If the callee and caller use different calling convensions, we cannot apply TCO if the callee requires arguments on stack; e.g. C calling convention and Fast CC use the same registers for parameter passing, but the stack offset is not necessarily same.
This patch also recommit r319218 "[PowerPC] Allow tail calls of fastcc functions from C CallingConv functions." by @sfertile since the problem reported in r320106 should be fixed.
Differential Revision: https://reviews.llvm.org/D40893
llvm-svn: 321579
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
0 files changed, 0 insertions, 0 deletions