Fix comment for NoCommonBits.
authorMichael Zolotukhin <mzolotukhin@apple.com>
Thu, 23 Apr 2015 22:55:48 +0000 (22:55 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Thu, 23 Apr 2015 22:55:48 +0000 (22:55 +0000)
Maybe there is a better wording, but at least it should be technically
correct now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235660 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp

index 69690b358f5c20bb0a47f9c85911a31f1baa5b1e..62ba50e83dfae0a9dbb1e24d0d7e3fa8242323d3 100644 (file)
@@ -276,7 +276,8 @@ class ConstantOffsetExtractor {
   /// returns "sext i32 (zext i16 V to i32) to i64".
   Value *applyExts(Value *V);
 
-  /// Returns true if LHS and RHS have no bits in common, i.e., LHS | RHS == 0.
+  /// Returns true if LHS and RHS have no bits in common, i.e., for every n
+  /// the n-th bit of either LHS, or RHS is 0.
   bool NoCommonBits(Value *LHS, Value *RHS) const;
   /// Computes which bits are known to be one or zero.
   /// \p KnownOne Mask of all bits that are known to be one.