summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-18 03:01:40 +0000
committerChris Lattner <sabre@nondot.org>2007-04-18 03:01:40 +0000
commit15c1b820ccb09b74a208931ff8aa9e23d239a448 (patch)
treed5bf2dfb40ea76c6d7db50d393188dfa00147667 /llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
parent9fcce44e7f68c0b503f8fa19abf5e451d3a2e189 (diff)
downloadbcm5719-llvm-15c1b820ccb09b74a208931ff8aa9e23d239a448.tar.gz
bcm5719-llvm-15c1b820ccb09b74a208931ff8aa9e23d239a448.zip
fix a pasto
llvm-svn: 36242
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index ff27b123180..90cf86f23c5 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -583,7 +583,7 @@ bool TargetLowering::SimplifyDemandedBits(SDOperand Op, uint64_t DemandedMask,
SDOperand NewSA =
TLO.DAG.getConstant(ShAmt-C1, Op.getOperand(1).getValueType());
MVT::ValueType VT = Op.getValueType();
- return TLO.CombineTo(Op, TLO.DAG.getNode(ISD::SRL, VT,
+ return TLO.CombineTo(Op, TLO.DAG.getNode(Opc, VT,
InOp.getOperand(0), NewSA));
}
}
OpenPOWER on IntegriCloud