diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2009-03-29 20:41:38 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2009-03-29 20:41:38 +0000 |
commit | 031b7481c818b7ad6f43ba942ed33663aef7f1b8 (patch) | |
tree | 07ce5fab70c5866ff28fd09f72f93664719bb886 /include/llvm/Instruction.h | |
parent | 31fd5a571eb8048a1084dd8e20a49dd0785de11a (diff) | |
download | external_llvm-031b7481c818b7ad6f43ba942ed33663aef7f1b8.zip external_llvm-031b7481c818b7ad6f43ba942ed33663aef7f1b8.tar.gz external_llvm-031b7481c818b7ad6f43ba942ed33663aef7f1b8.tar.bz2 |
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
Diffstat (limited to 'include/llvm/Instruction.h')
-rw-r--r-- | include/llvm/Instruction.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index 856531c..0a39b08 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; } |