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

Evan Cheng evan.cheng at apple.com
Fri May 26 11:23:01 PDT 2006



Changes in directory llvm/lib/Target/X86:

X86ISelLowering.cpp updated: 1.216 -> 1.217
---
Log message:

No need to handle illegal types.


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

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


Index: llvm/lib/Target/X86/X86ISelLowering.cpp
diff -u llvm/lib/Target/X86/X86ISelLowering.cpp:1.216 llvm/lib/Target/X86/X86ISelLowering.cpp:1.217
--- llvm/lib/Target/X86/X86ISelLowering.cpp:1.216	Thu May 25 18:31:23 2006
+++ llvm/lib/Target/X86/X86ISelLowering.cpp	Fri May 26 13:22:49 2006
@@ -384,7 +384,6 @@
 
   switch (ObjectVT) {
   default: assert(0 && "Unhandled argument type!");
-  case MVT::i1:
   case MVT::i8:  ObjSize = 1; break;
   case MVT::i16: ObjSize = 2; break;
   case MVT::i32: ObjSize = 4; break;
@@ -780,7 +779,6 @@
 
   switch (ObjectVT) {
   default: assert(0 && "Unhandled argument type!");
-  case MVT::i1:
   case MVT::i8:
     if (NumIntRegs < FASTCC_NUM_INT_ARGS_INREGS)
       ObjIntRegs = 1;
@@ -871,7 +869,6 @@
     if (ObjIntRegs || ObjXMMRegs) {
       switch (ObjectVT) {
       default: assert(0 && "Unhandled argument type!");
-      case MVT::i1:
       case MVT::i8:
         Reg = AddLiveIn(MF, NumIntRegs ? X86::DL : X86::AL,
                         X86::GR8RegisterClass);
@@ -945,7 +942,6 @@
   switch (getValueType(MF.getFunction()->getReturnType())) {
   default: assert(0 && "Unknown type!");
   case MVT::isVoid: break;
-  case MVT::i1:
   case MVT::i8:
   case MVT::i16:
   case MVT::i32:






More information about the llvm-commits mailing list