projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31fd5a5
)
Updated the comment for isArithmeticShift() to match reality.
author
Misha Brukman
<brukman+llvm@gmail.com>
Sun, 29 Mar 2009 20:41:38 +0000
(20:41 +0000)
committer
Misha 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
patch
|
blob
|
history
diff --git
a/include/llvm/Instruction.h
b/include/llvm/Instruction.h
index 856531c90685f8a82698fc0856ba2888c5be2ece..0a39b08461d65615138e87eb538eedbf8e0cbd19 100644
(file)
--- 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;
}