mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130428 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1e4f44bb8a
commit
e12d583621
@ -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) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user