aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-01-11 17:14:46 +0000
committerDan Gohman <gohman@apple.com>2010-01-11 17:14:46 +0000
commit9e83467baa7f6c2111de133852ac65f8c2237359 (patch)
tree6c426946ca1a5aae66269f5c036e73b81582d3ee /lib
parent4b0345be3071a5612023588eef689b93f3e94fa4 (diff)
downloadexternal_llvm-9e83467baa7f6c2111de133852ac65f8c2237359.zip
external_llvm-9e83467baa7f6c2111de133852ac65f8c2237359.tar.gz
external_llvm-9e83467baa7f6c2111de133852ac65f8c2237359.tar.bz2
Reword this comment to reference a more fundamental issue.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93154 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86FastISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp
index 10fba24..7e02d59 100644
--- a/lib/Target/X86/X86FastISel.cpp
+++ b/lib/Target/X86/X86FastISel.cpp
@@ -1230,8 +1230,8 @@ bool X86FastISel::X86SelectCall(Instruction *I) {
CC != CallingConv::X86_FastCall)
return false;
- // On X86, -tailcallopt changes the fastcc ABI. FastISel doesn't
- // handle this for now.
+ // fastcc with -tailcallopt is intended to provide a guaranteed
+ // tail call optimization. Fastisel doesn't know how to do that.
if (CC == CallingConv::Fast && PerformTailCallOpt)
return false;