Fix PR933 and CodeGen/X86/2006-10-02-BoolRetCrash.ll

llvm-svn: 30703
This commit is contained in:
Chris Lattner 2006-10-03 17:18:42 +00:00
parent a74ee6650d
commit 72276ae651

View File

@ -1494,6 +1494,7 @@ 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:
@ -2276,6 +2277,7 @@ X86TargetLowering::LowerFastCallCCArguments(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: