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:
parent
848c5cfc3a
commit
1123deea41
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user