llvm.org GIT mirror llvm / 031b748
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 Misha Brukman 11 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
143143 return getOpcode() == Shl || getOpcode() == LShr;
144144 }
145145
146 /// isLogicalShift - Return true if this is a logical shift left or a logical
147 /// shift right.
146 /// isArithmeticShift - Return true if this is an arithmetic shift right.
148147 inline bool isArithmeticShift() const {
149148 return getOpcode() == AShr;
150149 }