From 852cfc2ed31bd434222d55930312f7e94884a322 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Tue, 21 Mar 2023 12:05:18 -0700 Subject: [PATCH] [NFC] Fix incorrect comment for simplifyRightShift --- llvm/lib/Analysis/InstructionSimplify.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/lib/Analysis/InstructionSimplify.cpp b/llvm/lib/Analysis/InstructionSimplify.cpp index ebc5a77efd1f..ecb0cdbd13c6 100644 --- a/llvm/lib/Analysis/InstructionSimplify.cpp +++ b/llvm/lib/Analysis/InstructionSimplify.cpp @@ -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) {