[llvm-commits] [llvm] r117194 - /llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

Evan Cheng evan.cheng at apple.com
Fri Oct 22 19:19:37 PDT 2010


Author: evancheng
Date: Fri Oct 22 21:19:37 2010
New Revision: 117194

URL: http://llvm.org/viewvc/llvm-project?rev=117194&view=rev
Log:
Enable ARM fastcc.

Modified:
    llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=117194&r1=117193&r2=117194&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Fri Oct 22 21:19:37 2010
@@ -69,10 +69,6 @@
   cl::desc("Enable / disable ARM interworking (for debugging only)"),
   cl::init(true));
 
-static cl::opt<bool>
-ARMFastCC("arm-fastcc", cl::Hidden,
-  cl::desc("Use AAPCS / AAPCS-VFP calling conventions for fastcc"));
-
 void ARMTargetLowering::addTypeForNEON(EVT VT, EVT PromotedLdStVT,
                                        EVT PromotedBitwiseVT) {
   if (VT != PromotedLdStVT) {
@@ -960,7 +956,7 @@
   default:
     llvm_unreachable("Unsupported calling convention");
   case CallingConv::Fast:
-    if (ARMFastCC && Subtarget->hasVFP2() && !isVarArg) {
+    if (Subtarget->hasVFP2() && !isVarArg) {
       if (!Subtarget->isAAPCS_ABI())
         return (Return ? RetFastCC_ARM_APCS : FastCC_ARM_APCS);
       // For AAPCS ABI targets, just use VFP variant of the calling convention.





More information about the llvm-commits mailing list