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 | e12d58362176a7ea7ead7afa157194c18359499f (patch) | |
tree | 4d2290041d5facbb9c1bea6918fc65cb4756221a /lib/Transforms | |
parent | 1e4f44bb8aa363960f6f4018fc1dd11d8c39aae5 (diff) | |
download | external_llvm-e12d58362176a7ea7ead7afa157194c18359499f.zip external_llvm-e12d58362176a7ea7ead7afa157194c18359499f.tar.gz external_llvm-e12d58362176a7ea7ead7afa157194c18359499f.tar.bz2 |
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/InstCombine/InstCombineAndOrXor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp b/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp index 0cbb1fe..75e9312 100644 --- a/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp +++ b/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) && |