Skip to content

Commit c5d16e7

Browse files
committed
[IR] Update comment in Verifier::visitPHINode
Since svn r133708 visitPHINode no longer has to check basic block argument types. Better 13 years late than never!
1 parent 88414c8 commit c5d16e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/IR/Verifier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3381,7 +3381,7 @@ void Verifier::visitPHINode(PHINode &PN) {
33813381
Check(!PN.getType()->isTokenTy(), "PHI nodes cannot have token type!");
33823382

33833383
// Check that all of the values of the PHI node have the same type as the
3384-
// result, and that the incoming blocks are really basic blocks.
3384+
// result.
33853385
for (Value *IncValue : PN.incoming_values()) {
33863386
Check(PN.getType() == IncValue->getType(),
33873387
"PHI node operands are not the same type as the result!", &PN);

0 commit comments

Comments
 (0)