Get X86 long double calling convention to work
(on Darwin, anyway).  Fix some table omissions for
LD arithmetic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40877 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp
index 059ed98..62216ca 100644
--- a/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -498,7 +498,8 @@
                 MRegisterInfo::isVirtualRegister(I->getOperand(op).getReg()) &&
                 ((clas = RegMap->getRegClass(I->getOperand(0).getReg())) == 
                    X86::RFP32RegisterClass ||
-                 clas == X86::RFP64RegisterClass)) {
+                 clas == X86::RFP64RegisterClass ||
+                 clas == X86::RFP80RegisterClass)) {
               ContainsFPCode = true;
               break;
             }