[llvm] Changed stat passes to count instructions before and after optimizations (PR #188837)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 12:46:59 PDT 2026


================
@@ -19,8 +19,14 @@ namespace llvm {
 
 class Function;
 
-struct InstCountPass : PassInfoMixin<InstCountPass> {
-  PreservedAnalyses run(Function &F, FunctionAnalysisManager &);
+/// Statistics pass for the FunctionPropertiesAnalysis results.
----------------
aeubanks wrote:

comment is wrong, also probably unnecessary

https://github.com/llvm/llvm-project/pull/188837


More information about the llvm-commits mailing list