mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[Sparc] Always use the version of computeKnownBits that returns a value. NFCI.
Continues the work started by @bogner in rL340594 to remove uses of the KnownBits output paramater version. llvm-svn: 349914
This commit is contained in:
parent
7c99a03d6d
commit
70aaa6ceb1
@ -1866,8 +1866,8 @@ void SparcTargetLowering::computeKnownBitsForTargetNode
|
|||||||
case SPISD::SELECT_ICC:
|
case SPISD::SELECT_ICC:
|
||||||
case SPISD::SELECT_XCC:
|
case SPISD::SELECT_XCC:
|
||||||
case SPISD::SELECT_FCC:
|
case SPISD::SELECT_FCC:
|
||||||
DAG.computeKnownBits(Op.getOperand(1), Known, Depth+1);
|
Known = DAG.computeKnownBits(Op.getOperand(1), Depth + 1);
|
||||||
DAG.computeKnownBits(Op.getOperand(0), Known2, Depth+1);
|
Known2 = DAG.computeKnownBits(Op.getOperand(0), Depth + 1);
|
||||||
|
|
||||||
// Only known if known in both the LHS and RHS.
|
// Only known if known in both the LHS and RHS.
|
||||||
Known.One &= Known2.One;
|
Known.One &= Known2.One;
|
||||||
|
Loading…
Reference in New Issue
Block a user