summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-09-05 01:58:21 +0000
committerDan Gohman <gohman@apple.com>2008-09-05 01:58:21 +0000
commit921ddd69baf70ca5c254600a44ea9c13ec9adab6 (patch)
tree5c5881196b89db2addc445c6005f28bb8a666415 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parentf2a52bbee5851672516990eac836b38040f1deaf (diff)
downloadbcm5719-llvm-921ddd69baf70ca5c254600a44ea9c13ec9adab6.tar.gz
bcm5719-llvm-921ddd69baf70ca5c254600a44ea9c13ec9adab6.zip
Fix a search+replace-o.
llvm-svn: 55824
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 71afb27d304..2d400bdfb25 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud