summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
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
commit40ea3e5ce2a5216498345fd9289bb5356037cf28 (patch)
treea2b08272c7b21fc1cbc7b04886b5f8b0b0a6dac7 /llvm/lib/Target
parent40775003e64d52af725880f2afa0b615d0d9d4aa (diff)
downloadbcm5719-llvm-40ea3e5ce2a5216498345fd9289bb5356037cf28.tar.gz
bcm5719-llvm-40ea3e5ce2a5216498345fd9289bb5356037cf28.zip
Reword this comment to reference a more fundamental issue.
llvm-svn: 93154
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86FastISel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp
index 10fba2461ed..7e02d59c1bc 100644
--- a/llvm/lib/Target/X86/X86FastISel.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud