diff options
| author | Jakub Staszak <kubastaszak@gmail.com> | 2012-12-31 01:40:44 +0000 |
|---|---|---|
| committer | Jakub Staszak <kubastaszak@gmail.com> | 2012-12-31 01:40:44 +0000 |
| commit | f584977df2352d277555c6986055173282ed5561 (patch) | |
| tree | 3dddbf6b94d31bfcd729c774dcec2d7d1d4824cd | |
| parent | 6e95ae803a0274d69d366ce118b58f46ea3cdf50 (diff) | |
| download | bcm5719-llvm-f584977df2352d277555c6986055173282ed5561.tar.gz bcm5719-llvm-f584977df2352d277555c6986055173282ed5561.zip | |
Grammo.
llvm-svn: 171272
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp b/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp index 0fd1e2b2e4f..ab75318eaaa 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp @@ -1526,7 +1526,7 @@ Value *InstCombiner::FoldOrOfICmps(ICmpInst *LHS, ICmpInst *RHS) { } if (LHS->getOperand(0) == RHS->getOperand(0)) { - // if LHSCst and RHSCst differ with only one bit: + // if LHSCst and RHSCst differ only by one bit: // (A == C1 || A == C2) -> (A & ~(C1 ^ C2)) == C1 APInt Xor = LHSCst->getValue() ^ RHSCst->getValue(); if (Xor.isPowerOf2()) { |

