[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port SpillPlacement analysis to NPM (PR #116618)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 18 21:37:56 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 8a5db30a3841b88ccac2c781d933eeb45560fdfa 2dc76a68ef3d64d656b537206ad892dae1759415 --extensions cpp,h -- llvm/include/llvm/InitializePasses.h llvm/lib/CodeGen/RegAllocGreedy.cpp llvm/lib/CodeGen/RegAllocGreedy.h llvm/lib/CodeGen/SpillPlacement.cpp llvm/lib/Passes/PassBuilder.cpp llvm/include/llvm/CodeGen/SpillPlacement.h
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/CodeGen/SpillPlacement.h b/llvm/include/llvm/CodeGen/SpillPlacement.h
index c114acb1d0..90167d3362 100644
--- a/llvm/include/llvm/CodeGen/SpillPlacement.h
+++ b/llvm/include/llvm/CodeGen/SpillPlacement.h
@@ -163,7 +163,7 @@ public:
 
 private:
   // Only for use by legacy pass manager.
-  SpillPlacement() : nodes(nullptr, &arrayDeleter){};
+  SpillPlacement() : nodes(nullptr, &arrayDeleter) {};
 
   void releaseMemory() {
     nodes.reset();

``````````

</details>


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


More information about the llvm-branch-commits mailing list