summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-08-03 17:29:52 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-08-03 17:29:52 +0000
commitfce32858911c06c01fab264ce4f323ea70d4f338 (patch)
treec25bd09e9d218982ffac5e9c46c60aa50bf9f927 /llvm/lib
parent8aa621c4b13217b3969112166309430d5bb0549a (diff)
downloadbcm5719-llvm-fce32858911c06c01fab264ce4f323ea70d4f338.tar.gz
bcm5719-llvm-fce32858911c06c01fab264ce4f323ea70d4f338.zip
Fix grammar: apostrophe-s ('s) is possessive, not plural; also iff vs. if.
llvm-svn: 22619
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp b/llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
index 2423405a11c..b9cdb858b3e 100644
--- a/llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
+++ b/llvm/lib/Target/PowerPC/PPC32ISelPattern.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
OpenPOWER on IntegriCloud