mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
[SelectionDAG] Increment computeKnownBits recursion depth for SMIN/SMAX/UMIN/UMAX like all other ops
llvm-svn: 285397
This commit is contained in:
parent
1777237add
commit
8ba1e1dccc
@ -2467,8 +2467,8 @@ void SelectionDAG::computeKnownBits(SDValue Op, APInt &KnownZero,
|
||||
case ISD::UMAX: {
|
||||
APInt Op0Zero, Op0One;
|
||||
APInt Op1Zero, Op1One;
|
||||
computeKnownBits(Op.getOperand(0), Op0Zero, Op0One, Depth);
|
||||
computeKnownBits(Op.getOperand(1), Op1Zero, Op1One, Depth);
|
||||
computeKnownBits(Op.getOperand(0), Op0Zero, Op0One, Depth+1);
|
||||
computeKnownBits(Op.getOperand(1), Op1Zero, Op1One, Depth+1);
|
||||
|
||||
KnownZero = Op0Zero & Op1Zero;
|
||||
KnownOne = Op0One & Op1One;
|
||||
|
Loading…
Reference in New Issue
Block a user