1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[X86] Use APInt::operator<<= and APInt::lshrInPlace. NFC

llvm-svn: 372159
This commit is contained in:
Craig Topper 2019-09-17 18:19:06 +00:00
parent 848c5cfc3a
commit 1123deea41

View File

@ -34661,8 +34661,8 @@ bool X86TargetLowering::SimplifyDemandedVectorEltsForTargetNode(
Depth + 1))
return true;
KnownUndef = KnownUndef.shl(ShiftAmt);
KnownZero = KnownZero.shl(ShiftAmt);
KnownUndef <<= ShiftAmt;
KnownZero <<= ShiftAmt;
KnownZero.setLowBits(ShiftAmt);
break;
}
@ -34700,8 +34700,8 @@ bool X86TargetLowering::SimplifyDemandedVectorEltsForTargetNode(
Depth + 1))
return true;
KnownUndef = KnownUndef.lshr(ShiftAmt);
KnownZero = KnownZero.lshr(ShiftAmt);
KnownUndef.lshrInPlace(ShiftAmt);
KnownZero.lshrInPlace(ShiftAmt);
KnownZero.setHighBits(ShiftAmt);
break;
}