From: Misha Brukman Date: Sun, 29 Mar 2009 20:41:38 +0000 (+0000) Subject: Updated the comment for isArithmeticShift() to match reality. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=031b7481c818b7ad6f43ba942ed33663aef7f1b8;p=oota-llvm.git 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 --- 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; }