[llvm] [CodeGen][NewPM] Port EdgeBundles analysis to NPM (PR #116616)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 19 04:00:05 PST 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 b2ec416aa5bcd89c4bc295163d60e5a2ecb99212 74150e7c4cf2aee1e8d9f371278c8dc443ba36d3 --extensions cpp,h -- llvm/include/llvm/CodeGen/EdgeBundles.h llvm/include/llvm/CodeGen/Passes.h llvm/include/llvm/InitializePasses.h llvm/lib/CodeGen/EdgeBundles.cpp llvm/lib/CodeGen/RegAllocGreedy.cpp llvm/lib/CodeGen/SpillPlacement.cpp llvm/lib/Passes/PassBuilder.cpp llvm/lib/Target/X86/X86FloatingPoint.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/EdgeBundles.cpp b/llvm/lib/CodeGen/EdgeBundles.cpp
index 70729b162b..f433539698 100644
--- a/llvm/lib/CodeGen/EdgeBundles.cpp
+++ b/llvm/lib/CodeGen/EdgeBundles.cpp
@@ -119,5 +119,5 @@ bool EdgeBundles::invalidate(MachineFunction &MF, const PreservedAnalyses &PA,
// Invalidated when CFG is not preserved
auto PAC = PA.getChecker<EdgeBundlesAnalysis>();
return !PAC.preserved() && !PAC.preservedSet<CFGAnalyses>() &&
- !PAC.preservedSet<AllAnalysesOn<MachineFunction>>();
+ !PAC.preservedSet<AllAnalysesOn<MachineFunction>>();
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/116616
More information about the llvm-commits
mailing list