From 35d20a4c008a93be6f44d8c9d58280a4c8b58904 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 29 Jan 2006 06:45:31 +0000 Subject: [PATCH] remove now-dead code, the legalizer takes care of this for us llvm-svn: 25776 --- llvm/lib/Target/X86/X86ISelPattern.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/llvm/lib/Target/X86/X86ISelPattern.cpp b/llvm/lib/Target/X86/X86ISelPattern.cpp index 611d2a9bd709..77863e177cc3 100644 --- a/llvm/lib/Target/X86/X86ISelPattern.cpp +++ b/llvm/lib/Target/X86/X86ISelPattern.cpp @@ -1353,12 +1353,7 @@ unsigned ISel::SelectExpr(SDOperand N) { BuildMI(BB, Opc, 1,Result).addImm(cast(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(N)->getGlobal();