[mips] Do not tail-call optimize vararg functions or functions with byval
authorAkira Hatanaka <ahatanaka@mips.com>
Sat, 27 Oct 2012 00:56:56 +0000 (00:56 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Sat, 27 Oct 2012 00:56:56 +0000 (00:56 +0000)
commit21a9a98b77c48fb5084d3ef470083704d13c3929
treea48d655cd40d51fb5147ac11d837c4929348b8ec
parent4618e0b574bf879d062a39b5867d9c314a4639e0
[mips] Do not tail-call optimize vararg functions or functions with byval
arguments.

This is rather conservative and should be fixed later to be more aggressive.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166851 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsISelLowering.h
test/CodeGen/Mips/tailcall.ll