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:
a0f5bf3
)
Remove unnecessary FP_EXTEND. This causes worse codegen for SSE.
author
Nate Begeman
<natebegeman@mac.com>
Tue, 19 Jul 2005 16:50:03 +0000
(16:50 +0000)
committer
Nate Begeman
<natebegeman@mac.com>
Tue, 19 Jul 2005 16:50:03 +0000
(16:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22469
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 05d84609a0f3a211f25220e19152daa6c1c78782..dae4ddd8cf183149e4df84953b0c84db34a44007 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-403,9
+403,6
@@
void SelectionDAGLowering::visitRet(ReturnInst &I) {
Op1 = DAG.getNode(ISD::ZERO_EXTEND, TmpVT, Op1);
break;
case MVT::f32:
- // Extend float to double.
- Op1 = DAG.getNode(ISD::FP_EXTEND, MVT::f64, Op1);
- break;
case MVT::i64:
case MVT::f64:
break; // No extension needed!