[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelLowering.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Aug 17 11:43:38 PDT 2006



Changes in directory llvm/lib/Target/X86:

X86ISelLowering.cpp updated: 1.249 -> 1.250
---
Log message:

Revert this patch, the front-end has been fixed to make it unneccesary.


---
Diffs of the changes:  (+0 -15)

 X86ISelLowering.cpp |   15 ---------------
 1 files changed, 15 deletions(-)


Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.249 llvm/lib/Target/X86/X86ISelLowering.cpp:1.250
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.249	Thu Aug 17 13:12:28 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp	Thu Aug 17 13:43:24 2006
@@ -4184,9 +4184,6 @@
   case 'Q':
   case 'x':
   case 'Y':
-  case 'S':
-  case 'D':
-  case 'c':
     return C_RegisterClass;
   default: return TargetLowering::getConstraintType(ConstraintLetter);
   }
@@ -4200,18 +4197,6 @@
     // FIXME: not handling MMX registers yet ('y' constraint).
     switch (Constraint[0]) {      // GCC X86 Constraint Letters
     default: break;  // Unknown constraint letter
-    case 'S':   // ESI
-      if (VT == MVT::i32)
-        return make_vector<unsigned>(X86::ESI,0);
-      break;
-    case 'D':   // EDI
-      if (VT == MVT::i32)
-        return make_vector<unsigned>(X86::EDI,0);
-      break;
-    case 'c':  // ECX
-      if (VT == MVT::i32)
-        return make_vector<unsigned>(X86::ECX, 0);
-      break;
     case 'A':   // EAX/EDX
       if (VT == MVT::i32 || VT == MVT::i64)
         return make_vector<unsigned>(X86::EAX, X86::EDX, 0);






More information about the llvm-commits mailing list