mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-23 14:03:14 +00:00
Fix CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll, and PR1473.
llvm-svn: 37362
This commit is contained in:
parent
932fba07e5
commit
14bcacb40b
@ -587,7 +587,7 @@ bool TargetLowering::SimplifyDemandedBits(SDOperand Op, uint64_t DemandedMask,
|
||||
}
|
||||
|
||||
SDOperand NewSA =
|
||||
TLO.DAG.getConstant(ShAmt-C1, Op.getOperand(1).getValueType());
|
||||
TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType());
|
||||
MVT::ValueType VT = Op.getValueType();
|
||||
return TLO.CombineTo(Op, TLO.DAG.getNode(Opc, VT,
|
||||
InOp.getOperand(0), NewSA));
|
||||
|
Loading…
x
Reference in New Issue
Block a user