[NFC] Fix incorrect comment for simplifyRightShift

This commit is contained in:
Arthur Eubanks 2023-03-21 12:05:18 -07:00
parent 22b5fe7478
commit 852cfc2ed3

View File

@ -1411,8 +1411,8 @@ static Value *simplifyShift(Instruction::BinaryOps Opcode, Value *Op0,
return nullptr; return nullptr;
} }
/// Given operands for an Shl, LShr or AShr, see if we can /// Given operands for an LShr or AShr, see if we can fold the result. If not,
/// fold the result. If not, this returns null. /// this returns null.
static Value *simplifyRightShift(Instruction::BinaryOps Opcode, Value *Op0, static Value *simplifyRightShift(Instruction::BinaryOps Opcode, Value *Op0,
Value *Op1, bool IsExact, Value *Op1, bool IsExact,
const SimplifyQuery &Q, unsigned MaxRecurse) { const SimplifyQuery &Q, unsigned MaxRecurse) {