[llvm] [CodeGen][MachinePipeliner] Limit register pressure when scheduling (PR #74807)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 02:35:20 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 5ac12951b4e9bbfcc5791282d0961ec2b65575e9 1d2b6438a6f29b0665de0aba23f52f7c06affc33 -- llvm/include/llvm/CodeGen/MachinePipeliner.h llvm/lib/CodeGen/MachinePipeliner.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/CodeGen/MachinePipeliner.cpp b/llvm/lib/CodeGen/MachinePipeliner.cpp
index 0f154bc859..6004dfe5ec 100644
--- a/llvm/lib/CodeGen/MachinePipeliner.cpp
+++ b/llvm/lib/CodeGen/MachinePipeliner.cpp
@@ -2332,8 +2332,8 @@ void SwingSchedulerDAG::computeNodeOrder(NodeSetType &NodeSets) {
 /// Create an instruction stream that represents a single iteration and stage of
 /// each instruction. This function differs from SMSchedule::finalizeSchedule in
 /// that this doesn't have any side-effect to SwingSchedulerDAG. That is, this
-/// function is an approximation of SMSchedule::finalizeSchedule with all non-const
-/// operations removed.
+/// function is an approximation of SMSchedule::finalizeSchedule with all
+/// non-const operations removed.
 static void computeScheduledInsts(const SwingSchedulerDAG *SSD,
                                   SMSchedule &Schedule,
                                   std::vector<MachineInstr *> &OrderedInsts,

``````````

</details>


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


More information about the llvm-commits mailing list