[llvm-commits] [llvm] r68016 - /llvm/trunk/include/llvm/Instruction.h
Misha Brukman
brukman+llvm at gmail.com
Sun Mar 29 13:41:38 PDT 2009
Author: brukman
Date: Sun Mar 29 15:41:38 2009
New Revision: 68016
URL: http://llvm.org/viewvc/llvm-project?rev=68016&view=rev
Log:
Updated the comment for isArithmeticShift() to match reality.
Modified:
llvm/trunk/include/llvm/Instruction.h
Modified: llvm/trunk/include/llvm/Instruction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instruction.h?rev=68016&r1=68015&r2=68016&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Instruction.h (original)
+++ llvm/trunk/include/llvm/Instruction.h Sun Mar 29 15:41:38 2009
@@ -144,8 +144,7 @@
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;
}
More information about the llvm-commits
mailing list