[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
Misha Brukman
brukman at cs.uiuc.edu
Wed Aug 3 10:30:07 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelPattern.cpp updated: 1.113 -> 1.114
---
Log message:
Fix grammar: apostrophe-s ('s) is possessive, not plural; also iff vs. if.
---
Diffs of the changes: (+4 -4)
PPC32ISelPattern.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.113 llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.114
--- llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp:1.113 Wed Aug 3 11:52:22 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelPattern.cpp Wed Aug 3 12:29:52 2005
@@ -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
More information about the llvm-commits
mailing list