remove now-dead code, the legalizer takes care of this for us

llvm-svn: 25776
This commit is contained in:
Chris Lattner 2006-01-29 06:45:31 +00:00
parent 132177e103
commit 35d20a4c00
1 changed files with 1 additions and 6 deletions

View File

@ -1353,12 +1353,7 @@ unsigned ISel::SelectExpr(SDOperand N) {
BuildMI(BB, Opc, 1,Result).addImm(cast<ConstantSDNode>(N)->getValue());
return Result;
case ISD::UNDEF:
if (Node->getValueType(0) == MVT::f64) {
// FIXME: SHOULD TEACH STACKIFIER ABOUT UNDEF VALUES!
BuildMI(BB, X86::FpLD0, 0, Result);
} else {
BuildMI(BB, X86::IMPLICIT_DEF, 0, Result);
}
BuildMI(BB, X86::IMPLICIT_DEF, 0, Result);
return Result;
case ISD::GlobalAddress: {
GlobalValue *GV = cast<GlobalAddressSDNode>(N)->getGlobal();