summaryrefslogtreecommitdiff
path: root/lib
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
commit0a16a1f73816f7bdd420212feb72467707d5ac02 (patch)
tree2f0fd60b647d60db02b6d9b22fc255a1ae50d68f /lib
parent919184867c72c76884579624ef231d677e643755 (diff)
downloadllvm-0a16a1f73816f7bdd420212feb72467707d5ac02.tar.gz
llvm-0a16a1f73816f7bdd420212feb72467707d5ac02.tar.bz2
llvm-0a16a1f73816f7bdd420212feb72467707d5ac02.tar.xz
fix a pasto
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index ff27b12318..90cf86f23c 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/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));
}
}