Turn off the new FastCC for the moment. It causes
authorDuncan Sands <baldrick@free.fr>
Wed, 10 Sep 2008 13:09:24 +0000 (13:09 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 10 Sep 2008 13:09:24 +0000 (13:09 +0000)
a slew of Ada testsuite failures on x86-32 linux.
Seems to be related to the use of float.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56053 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 6381623e080cb503303f094ca675ea7277c5681a..3a7ec4f8f25927d3f67e5a0ca8766404c5cb493e 100644 (file)
@@ -1098,8 +1098,6 @@ CCAssignFn *X86TargetLowering::CCAssignFnForNode(SDValue Op) const {
     return CC_X86_32_FastCall;
   else if (CC == CallingConv::Fast && PerformTailCallOpt)
     return CC_X86_32_TailCall;
-  else if (CC == CallingConv::Fast)
-    return CC_X86_32_FastCC;
   else
     return CC_X86_32_C;
 }