mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
fix typo; NFC
llvm-svn: 258057
This commit is contained in:
parent
7327a3bf3b
commit
5dcccbe4e7
@ -1413,7 +1413,7 @@ Instruction *InstCombiner::visitAnd(BinaryOperator &I) {
|
||||
if (B == tmpOp0) {
|
||||
std::swap(A, B);
|
||||
}
|
||||
// Notice that the patten (A&(~B)) is actually (A&(-1^B)), so if
|
||||
// Notice that the pattern (A&(~B)) is actually (A&(-1^B)), so if
|
||||
// A is originally -1 (or a vector of -1 and undefs), then we enter
|
||||
// an endless loop. By checking that A is non-constant we ensure that
|
||||
// we will never get to the loop.
|
||||
|
Loading…
Reference in New Issue
Block a user