[llvm] [llvm][ScheduleDAG] Re-arrange SUnit's members to make it smaller (PR #94547)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 17:07:32 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 a9342f2eab7993a3be1d1156070c0d2de21ed973 25196f6b9afbcd6ee8a56cee29f6d8271faaf3b7 -- llvm/include/llvm/CodeGen/ScheduleDAG.h llvm/include/llvm/CodeGen/TargetLowering.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/CodeGen/TargetLowering.h b/llvm/include/llvm/CodeGen/TargetLowering.h
index fc8de4a649..974a5301f6 100644
--- a/llvm/include/llvm/CodeGen/TargetLowering.h
+++ b/llvm/include/llvm/CodeGen/TargetLowering.h
@@ -97,15 +97,15 @@ class Value;
namespace Sched {
enum Preference : uint8_t {
- None, // No preference
- Source, // Follow source order.
- RegPressure, // Scheduling for lowest register pressure.
- Hybrid, // Scheduling for both latency and register pressure.
- ILP, // Scheduling for ILP in low register pressure mode.
- VLIW, // Scheduling for VLIW targets.
- Fast, // Fast suboptimal list scheduling
- Linearize, // Linearize DAG, no scheduling
- Last = Linearize // Marker for the last Sched::Preference
+ None, // No preference
+ Source, // Follow source order.
+ RegPressure, // Scheduling for lowest register pressure.
+ Hybrid, // Scheduling for both latency and register pressure.
+ ILP, // Scheduling for ILP in low register pressure mode.
+ VLIW, // Scheduling for VLIW targets.
+ Fast, // Fast suboptimal list scheduling
+ Linearize, // Linearize DAG, no scheduling
+ Last = Linearize // Marker for the last Sched::Preference
};
} // end namespace Sched
``````````
</details>
https://github.com/llvm/llvm-project/pull/94547
More information about the llvm-commits
mailing list