mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
[SelectionDAG] Use APInt move assignment to avoid 2 memory allocations and copies when bit width is larger than 64-bits.
llvm-svn: 300091
This commit is contained in:
parent
19ecb63f39
commit
9be0fc31bf
@ -731,8 +731,8 @@ bool TargetLowering::SimplifyDemandedBits(SDValue Op,
|
||||
}
|
||||
}
|
||||
|
||||
KnownZero = KnownZeroOut;
|
||||
KnownOne = KnownOneOut;
|
||||
KnownZero = std::move(KnownZeroOut);
|
||||
KnownOne = std::move(KnownOneOut);
|
||||
break;
|
||||
case ISD::SELECT:
|
||||
if (SimplifyDemandedBits(Op.getOperand(2), NewMask, KnownZero,
|
||||
|
Loading…
Reference in New Issue
Block a user