diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-03-27 20:35:49 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-03-27 20:35:49 +0000 |
commit | faf8065a99817bcb10e6f09b558fe3e0972c35ce (patch) | |
tree | ca438c6ddc7851628bd33137f9bc80ffc11cb0a9 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | e2bd5d36b360837c4bc8517f69892135b3b14d27 (diff) | |
download | bcm5719-llvm-faf8065a99817bcb10e6f09b558fe3e0972c35ce.tar.gz bcm5719-llvm-faf8065a99817bcb10e6f09b558fe3e0972c35ce.zip |
[CodeGen] Don't attempt a tail-call with a non-forwarded explicit sret.
Tailcalls are only OK with forwarded sret pointers. With explicit sret,
one approximation is to check that the pointer isn't an Instruction, as
in that case it might point into some local memory (alloca). That's not
OK with tailcalls.
Explicit sret counterpart to r233409.
Differential Revison: http://reviews.llvm.org/D8510
llvm-svn: 233410
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions