diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-08-03 17:29:52 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-08-03 17:29:52 +0000 |
commit | 0a3f677f0912e2fc9f45ce44cca1a0f4cacfc4c6 (patch) | |
tree | f64365ad4173081030b4472fb0d9244eb1827cc0 /lib/Target/PowerPC/PPCISelPattern.cpp | |
parent | 89bfcd34cbd2f4c6bb2cafff0a5c2bff147fae11 (diff) |
Fix grammar: apostrophe-s ('s) is possessive, not plural; also iff vs. if.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelPattern.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCISelPattern.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCISelPattern.cpp b/lib/Target/PowerPC/PPCISelPattern.cpp index 2423405a11..b9cdb858b3 100644 --- a/lib/Target/PowerPC/PPCISelPattern.cpp +++ b/lib/Target/PowerPC/PPCISelPattern.cpp @@ -36,10 +36,10 @@ using namespace llvm; -// IsRunOfOnes - Returns true if Val consists of one contiguous run of 1's with -// any number of 0's on either side. the 1's are allowed to wrap from LSB to -// MSB. so 0x000FFF0, 0x0000FFFF, and 0xFF0000FF are all runs. 0x0F0F0000 is -// not, since all 1's are not contiguous. +// IsRunOfOnes - Returns true iff Val consists of one contiguous run of 1s with +// any number of 0s on either side. The 1s are allowed to wrap from LSB to +// MSB, so 0x000FFF0, 0x0000FFFF, and 0xFF0000FF are all runs. 0x0F0F0000 is +// not, since all 1s are not contiguous. static bool IsRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) { if (isShiftedMask_32(Val)) { // look for the first non-zero bit |