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

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 10:54:32 PDT 2026


================
@@ -2317,6 +2349,9 @@ PassBuilder::buildLTODefaultPipeline(OptimizationLevel Level,
   // Emit annotation remarks.
   addAnnotationRemarksPass(MPM);
 
+  // Count instruction types after optimization
----------------
aeubanks wrote:

comment is redundant with the function call name

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


More information about the llvm-commits mailing list