commit | 3dd168d4452d0aff4960f01c5a7471a79eec45f3 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Sep 05 01:58:21 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Sep 05 01:58:21 2008 +0000 |
tree | 49fd8ccf4167b12c6aefddb41f03904dd2884c8c | |
parent | 601d3c014588ad87f6625cd8848c8d76ffe72c37 [diff] [blame] |
Fix a search+replace-o. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55824 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 71afb27..2d400bd 100644 --- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -3491,7 +3491,7 @@ } } - // 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;