aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Instruction.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index 856531c906..0a39b08461 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;
}