[llvm-commits] [llvm] r130428 - /llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Benjamin Kramer
benny.kra at googlemail.com
Thu Apr 28 13:09:57 PDT 2011
Author: d0k
Date: Thu Apr 28 15:09:57 2011
New Revision: 130428
URL: http://llvm.org/viewvc/llvm-project?rev=130428&view=rev
Log:
Fix a comment.
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp?rev=130428&r1=130427&r2=130428&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp Thu Apr 28 15:09:57 2011
@@ -770,7 +770,7 @@
}
}
- // (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) &&
More information about the llvm-commits
mailing list