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

Dan Gohman gohman at apple.com
Thu Sep 25 18:39:32 PDT 2008


Author: djg
Date: Thu Sep 25 20:39:32 2008
New Revision: 56637

URL: http://llvm.org/viewvc/llvm-project?rev=56637&view=rev
Log:
Disable support for x86_f80 in X86FastISel. Supporting it would
require more work.

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=56637&r1=56636&r2=56637&view=diff

==============================================================================
--- llvm/trunk/lib/Target/X86/X86FastISel.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86FastISel.cpp Thu Sep 25 20:39:32 2008
@@ -216,9 +216,8 @@
     }
     break;
   case MVT::f80:
-    Opc = X86::LD_Fp80m;
-    RC  = X86::RFP80RegisterClass;
-    break;
+    // No f80 support yet.
+    return false;
   }
 
   ResultReg = createResultReg(RC);
@@ -274,9 +273,8 @@
     }
     break;
   case MVT::f80:
-    Opc = X86::ST_FP80m;
-    RC  = X86::RFP80RegisterClass;
-    break;
+    // No f80 support yet.
+    return false;
   }
 
   addFullAddress(BuildMI(MBB, TII.get(Opc)), AM).addReg(Val);
@@ -1169,9 +1167,8 @@
     }
     break;
   case MVT::f80:
-    Opc = X86::LD_Fp80m;
-    RC  = X86::RFP80RegisterClass;
-    break;
+    // No f80 support yet.
+    return false;
   }
   
   // Materialize addresses with LEA instructions.





More information about the llvm-commits mailing list