[llvm] [LLVM] InstCount pass implemented when enabling stats (PR #171658)

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 11 10:03:34 PST 2025


================
@@ -190,9 +191,9 @@ static cl::opt<bool> EnablePostPGOLoopRotation(
     "enable-post-pgo-loop-rotation", cl::init(true), cl::Hidden,
     cl::desc("Run the loop rotation transformation after PGO instrumentation"));
 
-static cl::opt<bool> EnableGlobalAnalyses(
-    "enable-global-analyses", cl::init(true), cl::Hidden,
-    cl::desc("Enable inter-procedural analyses"));
+static cl::opt<bool>
----------------
aeubanks wrote:

clang-format made these changes, but we strongly encourage keeping irrelevant changes out of a PR that does something else. if you do want to be a good citizen and format this file so other people in the future don't end up running into this same issue where clang-format formats unrelated unformatted code, it should be a separate PR.

`git restore -s HEAD~ -p .` should let you interactively choose which chunks to restore back to the previous commit

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


More information about the llvm-commits mailing list