From 031b7481c818b7ad6f43ba942ed33663aef7f1b8 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Sun, 29 Mar 2009 20:41:38 +0000 Subject: [PATCH] Updated the comment for isArithmeticShift() to match reality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68016 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Instruction.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index 856531c9068..0a39b08461d 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -144,8 +144,7 @@ public: return getOpcode() == Shl || getOpcode() == LShr; } - /// isLogicalShift - Return true if this is a logical shift left or a logical - /// shift right. + /// isArithmeticShift - Return true if this is an arithmetic shift right. inline bool isArithmeticShift() const { return getOpcode() == AShr; } -- 2.34.1