mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-01 21:03:54 +00:00
Ignore 'forced' tailcall opt in fastisel mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5c8697488a
commit
bbba00c8fa
@ -1243,11 +1243,6 @@ bool X86FastISel::X86SelectCall(Instruction *I) {
|
||||
CC != CallingConv::X86_FastCall)
|
||||
return false;
|
||||
|
||||
// fastcc with -tailcallopt is intended to provide a guaranteed
|
||||
// tail call optimization. Fastisel doesn't know how to do that.
|
||||
if (X86::IsEligibleForTailCallOpt(CC))
|
||||
return false;
|
||||
|
||||
// Let SDISel handle vararg functions.
|
||||
const PointerType *PT = cast<PointerType>(CS.getCalledValue()->getType());
|
||||
const FunctionType *FTy = cast<FunctionType>(PT->getElementType());
|
||||
|
Loading…
x
Reference in New Issue
Block a user