projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c86974
)
Ignore 'forced' tailcall opt in fastisel mode.
author
Evan Cheng
<evan.cheng@apple.com>
Tue, 26 Jan 2010 23:28:40 +0000
(23:28 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Tue, 26 Jan 2010 23:28:40 +0000
(23:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94617
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86FastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86FastISel.cpp
b/lib/Target/X86/X86FastISel.cpp
index cca98307c52c0e3891d9f6c1287416e80a9db69a..e3650af33bff8565c51ced7a3aa39c19316f28c1 100644
(file)
--- a/
lib/Target/X86/X86FastISel.cpp
+++ b/
lib/Target/X86/X86FastISel.cpp
@@
-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());