diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-04-28 20:09:57 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-04-28 20:09:57 +0000 |
commit | 101720fb58a133ced215b76909e8dc70212c70ec (patch) | |
tree | 386da8afcc2f33000e7afd39fab42103ada51d08 /llvm/lib/Transforms | |
parent | 9d3c504078f364e312f101beeedcbd689b2d7ebe (diff) | |
download | bcm5719-llvm-101720fb58a133ced215b76909e8dc70212c70ec.tar.gz bcm5719-llvm-101720fb58a133ced215b76909e8dc70212c70ec.zip |
Fix a comment.
llvm-svn: 130428
Diffstat (limited to 'llvm/lib/Transforms')
-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 0cbb1fe9ec1..75e93127e7e 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp @@ -770,7 +770,7 @@ Value *InstCombiner::FoldAndOfICmps(ICmpInst *LHS, ICmpInst *RHS) { } } - // (trunc x) == C1 & (and x, CA) == C2 -> (and CA|CMAX) == C1|C2 + // (trunc x) == C1 & (and x, CA) == C2 -> (and x, CA|CMAX) == C1|C2 // where CMAX is the all ones value for the truncated type, // iff the lower bits of CA are zero. if (LHSCC == RHSCC && ICmpInst::isEquality(LHSCC) && |