aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-29 06:45:31 +0000
committerChris Lattner <sabre@nondot.org>2006-01-29 06:45:31 +0000
commit0fc9c26e7d3bf6f6985b5a026aaa276b1af93351 (patch)
tree4b0b0df39ccd7c48b730e31cb3b719ba6b120c16
parent44d9b9bb86cad2185b9229d67f84e57994f57a04 (diff)
remove now-dead code, the legalizer takes care of this for us
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25776 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86ISelPattern.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Target/X86/X86ISelPattern.cpp b/lib/Target/X86/X86ISelPattern.cpp
index 611d2a9bd7..77863e177c 100644
--- a/lib/Target/X86/X86ISelPattern.cpp
+++ b/lib/Target/X86/X86ISelPattern.cpp
@@ -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();