projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9191848
)
fix a pasto
author
Chris Lattner
<sabre@nondot.org>
Wed, 18 Apr 2007 03:01:40 +0000
(
03:01
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 18 Apr 2007 03:01:40 +0000
(
03:01
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36242
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index ff27b123180d1f3df11e1d9ecf4187f356bfd41e..90cf86f23c5c90fb892f92f55f935a8e1271b740 100644
(file)
--- 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));
}
}