From a4b6f4749df632672ba34101ce7b068b0796d385 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 26 May 2006 18:22:49 +0000 Subject: [PATCH] No need to handle illegal types. llvm-svn: 28496 --- lib/Target/X86/X86ISelLowering.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index fee69a266dc..c64c2f2e9ab 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -384,7 +384,6 @@ HowToPassCCCArgument(MVT::ValueType ObjectVT, unsigned NumXMMRegs, 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 @@ HowToPassFastCCArgument(MVT::ValueType ObjectVT, 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 @@ X86TargetLowering::LowerFastCCArguments(SDOperand Op, SelectionDAG &DAG) { 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 @@ X86TargetLowering::LowerFastCCArguments(SDOperand Op, SelectionDAG &DAG) { 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: