[llvm] [PassManager] Support MachineFunctionProperties (PR #83668)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 22 16:56:58 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 c67ed2f1e12e1b0e16b25606e67b67a47ca848d5 175bd87ba11a6ed711564519ac2c3013da48a034 -- llvm/include/llvm/CodeGen/MachinePassManager.h llvm/lib/Passes/PassBuilder.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/CodeGen/MachinePassManager.h b/llvm/include/llvm/CodeGen/MachinePassManager.h
index 7343b59050..94ddf2cca4 100644
--- a/llvm/include/llvm/CodeGen/MachinePassManager.h
+++ b/llvm/include/llvm/CodeGen/MachinePassManager.h
@@ -232,8 +232,8 @@ PassManager<MachineFunction>::addPass(PassT &&Pass) {
std::unique_ptr<PassConceptT>(new MachineFunctionPassModelT(
std::forward<MachinePassInfoMixin<PassT>>(Pass))));
} else {
- Passes.push_back(
- std::unique_ptr<PassConceptT>(new PassModelT(std::forward<PassT>(Pass))));
+ Passes.push_back(std::unique_ptr<PassConceptT>(
+ new PassModelT(std::forward<PassT>(Pass))));
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/83668
More information about the llvm-commits
mailing list