Updated the comment for isArithmeticShift() to match reality.
authorMisha Brukman <brukman+llvm@gmail.com>
Sun, 29 Mar 2009 20:41:38 +0000 (20:41 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Sun, 29 Mar 2009 20:41:38 +0000 (20:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68016 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Instruction.h

index 856531c90685f8a82698fc0856ba2888c5be2ece..0a39b08461d65615138e87eb538eedbf8e0cbd19 100644 (file)
@@ -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;
   }