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:
601d3c0
)
Fix a search+replace-o.
author
Dan Gohman
<gohman@apple.com>
Fri, 5 Sep 2008 01:58:21 +0000
(
01:58
+0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 5 Sep 2008 01:58:21 +0000
(
01:58
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55824
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 71afb27d3049a0c12ba73ca5ce17b9805c5f8035..2d400bdfb2556064642a6e03c81b470474ce4751 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@
-3491,7
+3491,7
@@
SDValue DAGCombiner::visitBIT_CONVERT(SDNode *N) {
}
}
- // If the input is a constant, let
Val
fold it.
+ // If the input is a constant, let
getNode
fold it.
if (isa<ConstantSDNode>(N0) || isa<ConstantFPSDNode>(N0)) {
SDValue Res = DAG.getNode(ISD::BIT_CONVERT, VT, N0);
if (Res.getNode() != N) return Res;