[llvm-commits] [llvm] r93154 - /llvm/trunk/lib/Target/X86/X86FastISel.cpp

Dan Gohman gohman at apple.com
Mon Jan 11 09:14:46 PST 2010


Author: djg
Date: Mon Jan 11 11:14:46 2010
New Revision: 93154

URL: http://llvm.org/viewvc/llvm-project?rev=93154&view=rev
Log:
Reword this comment to reference a more fundamental issue.

Modified:
    llvm/trunk/lib/Target/X86/X86FastISel.cpp

Modified: llvm/trunk/lib/Target/X86/X86FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86FastISel.cpp?rev=93154&r1=93153&r2=93154&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86FastISel.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FastISel.cpp Mon Jan 11 11:14:46 2010
@@ -1230,8 +1230,8 @@
       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;
 





More information about the llvm-commits mailing list