mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Fix off-by one in comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
21a1401413
commit
a3b2121ccf
@ -1402,7 +1402,7 @@ ExpandShiftWithKnownAmountBit(SDNode *N, SDValue &Lo, SDValue &Hi) {
|
||||
if ((KnownZero & HighBitMask) == HighBitMask) {
|
||||
// Calculate 31-x. 31 is used instead of 32 to avoid creating an undefined
|
||||
// shift if x is zero. We can use XOR here because x is known to be smaller
|
||||
// than 31.
|
||||
// than 32.
|
||||
SDValue Amt2 = DAG.getNode(ISD::XOR, dl, ShTy, Amt,
|
||||
DAG.getConstant(NVTBits-1, ShTy));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user