projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44d9b9b
)
remove now-dead code, the legalizer takes care of this for us
author
Chris Lattner
<sabre@nondot.org>
Sun, 29 Jan 2006 06:45:31 +0000
(06:45 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 29 Jan 2006 06:45:31 +0000
(06:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25776
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelPattern.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelPattern.cpp
b/lib/Target/X86/X86ISelPattern.cpp
index 611d2a9bd70970bc7ade7d67ac27a4b1de7d491c..77863e177cc309eda3c70b4d4a3710dd0beb6a86 100644
(file)
--- 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();