Updated the comment for isArithmeticShift() to match reality.
[oota-llvm.git] / 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;
   }