1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Fix a search+replace-o.

llvm-svn: 55824
This commit is contained in:
Dan Gohman 2008-09-05 01:58:21 +00:00
parent ce63ed5b47
commit a3987ed4e2

View File

@ -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;