[llvm] Adding Matching and Inference Functionality to Propeller-PR4: Implement matching and inference and create clusters (PR #165868)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 6 18:09:09 PST 2025
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 origin/main HEAD --extensions h,cpp -- llvm/include/llvm/CodeGen/BasicBlockMatchingAndInference.h llvm/lib/CodeGen/BasicBlockMatchingAndInference.cpp llvm/include/llvm/CodeGen/BasicBlockSectionsProfileReader.h llvm/include/llvm/CodeGen/MachineBlockHashInfo.h llvm/include/llvm/CodeGen/Passes.h llvm/include/llvm/InitializePasses.h llvm/include/llvm/Transforms/Utils/SampleProfileInference.h llvm/lib/CodeGen/BasicBlockSections.cpp llvm/lib/CodeGen/BasicBlockSectionsProfileReader.cpp llvm/lib/CodeGen/TargetPassConfig.cpp llvm/lib/Transforms/Utils/SampleProfileInference.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index 2c3ff6e2b..d94cc70da 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -273,10 +273,10 @@ static cl::opt<bool>
"sections using profile information"));
/// Enable matching and inference when using propeller.
-static cl::opt<bool>
- PropellerMatchInfer("propeller-match-infer",
- cl::desc("Enable matching and inference when using propeller"),
- cl::init(false), cl::Optional);
+static cl::opt<bool> PropellerMatchInfer(
+ "propeller-match-infer",
+ cl::desc("Enable matching and inference when using propeller"),
+ cl::init(false), cl::Optional);
cl::opt<bool> EmitBBHash(
"emit-bb-hash",
``````````
</details>
https://github.com/llvm/llvm-project/pull/165868
More information about the llvm-commits
mailing list