From: Sanjay Patel Date: Tue, 30 Aug 2022 19:21:17 +0000 (-0400) Subject: [Verifier] remove stale comment about PHI with no operands; NFC X-Git-Tag: upstream/17.0.6~34922 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15090afd663160fed39034cfbd938ec26da8a441;p=platform%2Fupstream%2Fllvm.git [Verifier] remove stale comment about PHI with no operands; NFC The code was changed with: 9eb2c0113dfe ...but missed the corresponding code comment. --- diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index 2e208a0..3c617d2 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/lib/IR/Verifier.cpp @@ -23,7 +23,6 @@ // * Only phi nodes can be self referential: 'add i32 %0, %0 ; :0' is bad // * PHI nodes must have an entry for each predecessor, with no extras. // * PHI nodes must be the first thing in a basic block, all grouped together -// * PHI nodes must have at least one entry // * All basic blocks should only end with terminator insts, not contain them // * The entry node to a function must not have predecessors // * All Instructions must be embedded into a basic block