[llvm] [NewPM][CodeGen] Add `MachineFunctionAnalysis` (PR #88509)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 12 19:34:15 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 b45c9c313c5107b1942cd325e8ab3b4235948a08 f87f5f4dba0aee9815572ff46e1bd3faa30098e3 -- llvm/include/llvm/CodeGen/MachineFunctionAnalysis.h llvm/lib/CodeGen/MachineFunctionAnalysis.cpp llvm/include/llvm/CodeGen/MIRParser/MIRParser.h llvm/lib/CodeGen/FreeMachineFunction.cpp llvm/lib/CodeGen/MIRParser/MIRParser.cpp llvm/lib/CodeGen/MachinePassManager.cpp llvm/lib/Passes/PassBuilder.cpp llvm/lib/Passes/StandardInstrumentations.cpp llvm/tools/llc/NewPMDriver.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/MachinePassManager.cpp b/llvm/lib/CodeGen/MachinePassManager.cpp
index 1f8b6e0a1a..915b3ad878 100644
--- a/llvm/lib/CodeGen/MachinePassManager.cpp
+++ b/llvm/lib/CodeGen/MachinePassManager.cpp
@@ -10,8 +10,8 @@
//
//===----------------------------------------------------------------------===//
-#include "llvm/CodeGen/FreeMachineFunction.h"
#include "llvm/CodeGen/MachinePassManager.h"
+#include "llvm/CodeGen/FreeMachineFunction.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionAnalysis.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/88509
More information about the llvm-commits
mailing list