Skip to content

Commit

Permalink
[NFC] Fix incorrect comment for simplifyRightShift
Browse files Browse the repository at this point in the history
  • Loading branch information
aeubanks committed Mar 21, 2023
1 parent 22b5fe7 commit 852cfc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Analysis/InstructionSimplify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1411,8 +1411,8 @@ static Value *simplifyShift(Instruction::BinaryOps Opcode, Value *Op0,
return nullptr;
}

/// Given operands for an Shl, LShr or AShr, see if we can
/// fold the result. If not, this returns null.
/// Given operands for an LShr or AShr, see if we can fold the result. If not,
/// this returns null.
static Value *simplifyRightShift(Instruction::BinaryOps Opcode, Value *Op0,
Value *Op1, bool IsExact,
const SimplifyQuery &Q, unsigned MaxRecurse) {
Expand Down

0 comments on commit 852cfc2

Please sign in to comment.