[llvm] [InstCombine] Remove dead phi web (PR #108876)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 17 17:20:10 PDT 2024
================
@@ -634,6 +634,11 @@ class LLVM_LIBRARY_VISIBILITY InstCombinerImpl final
Instruction *foldPHIArgZextsIntoPHI(PHINode &PN);
Instruction *foldPHIArgIntToPtrToPHI(PHINode &PN);
+ // If the phi is within a phi web, which is formed by the def-use chain
----------------
dtcxzyw wrote:
```suggestion
/// If the phi is within a phi web, which is formed by the def-use chain
```
Please use `///` for header comments: https://llvm.org/docs/CodingStandards.html#comment-formatting.
https://github.com/llvm/llvm-project/pull/108876
More information about the llvm-commits
mailing list