[llvm] [BOLT] Add NamedRegionTimer to inferStaleProfile (PR #92975)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 16:48:06 PDT 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 7630775e3ad34c426cde91732e8e7816c2a1ef5a c1636342b6f0336d457ea9b8b740fbf57e481ec8 -- bolt/lib/Profile/StaleProfileMatching.cpp bolt/lib/Rewrite/RewriteInstance.cpp bolt/lib/Utils/CommandLineOpts.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/bolt/lib/Utils/CommandLineOpts.cpp b/bolt/lib/Utils/CommandLineOpts.cpp
index 455194b9a4..41c89bc8ae 100644
--- a/bolt/lib/Utils/CommandLineOpts.cpp
+++ b/bolt/lib/Utils/CommandLineOpts.cpp
@@ -180,8 +180,8 @@ cl::opt<bool> TimeOpts("time-opts",
                        cl::cat(BoltOptCategory));
 
 cl::opt<bool> TimeRewrite("time-rewrite",
-                cl::desc("print time spent in rewriting passes"), cl::Hidden,
-                cl::cat(BoltCategory));
+                          cl::desc("print time spent in rewriting passes"),
+                          cl::Hidden, cl::cat(BoltCategory));
 
 cl::opt<bool> UseOldText(
     "use-old-text",

``````````

</details>


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


More information about the llvm-commits mailing list