[llvm] 15090af - [Verifier] remove stale comment about PHI with no operands; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 30 12:38:50 PDT 2022
Author: Sanjay Patel
Date: 2022-08-30T15:38:29-04:00
New Revision: 15090afd663160fed39034cfbd938ec26da8a441
URL: https://github.com/llvm/llvm-project/commit/15090afd663160fed39034cfbd938ec26da8a441
DIFF: https://github.com/llvm/llvm-project/commit/15090afd663160fed39034cfbd938ec26da8a441.diff
LOG: [Verifier] remove stale comment about PHI with no operands; NFC
The code was changed with:
9eb2c0113dfe
...but missed the corresponding code comment.
Added:
Modified:
llvm/lib/IR/Verifier.cpp
Removed:
################################################################################
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp
index 2e208a0868203..3c617d2548c7d 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 ; <int>: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
More information about the llvm-commits
mailing list