Skip to content

Commit c0270eb

Browse files
committed
[HashRecognize] Update some comments
1 parent 62d5be4 commit c0270eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Analysis/HashRecognize.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,10 +507,10 @@ CRCTable HashRecognize::genSarwateTable(const APInt &GenPoly,
507507
/// In other words, it checks for the following pattern:
508508
///
509509
/// loop:
510-
/// %L = phi [_, %entry], [%L.next, %loop]
511-
/// %R = phi [_, %entry], [%R.next, %loop]
510+
/// %P1 = phi [_, %entry], [%P1.next, %loop]
511+
/// %P2 = phi [_, %entry], [%P2.next, %loop]
512512
/// ...
513-
/// %xor = xor (CastOrSelf %L), (CastOrSelf %R)
513+
/// %xor = xor (CastOrSelf %P1), (CastOrSelf %P2)
514514
///
515515
/// where %xor is in the use-def chain of \p SI's condition.
516516
static bool isConditionalOnXorOfPHIs(const SelectInst *SI, const PHINode *P1,

0 commit comments

Comments
 (0)