mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll, and PR1473.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37362 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
548484d9a3
commit
4e7e6cd13a
@ -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…
Reference in New Issue
Block a user