[llvm] misched: remove TODO and replace computation with variable (PR #119551)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 03:50:04 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 c69f8296f313d4b0766b322fea121c576bd4ec01 41f2d32170ea1f892f89b16233a896c494e95722 --extensions cpp -- llvm/lib/CodeGen/MachineScheduler.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index 77aeaf58e9..3319ccfc30 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/lib/CodeGen/MachineScheduler.cpp
@@ -2458,8 +2458,7 @@ bool SchedBoundary::checkHazard(SUnit *SU) {
unsigned uops = SchedModel->getNumMicroOps(SU->getInstr());
if ((CurrMOps > 0) && (CurrMOps + uops > SchedModel->getIssueWidth())) {
- LLVM_DEBUG(dbgs() << " SU(" << SU->NodeNum << ") uops="
- << uops << '\n');
+ LLVM_DEBUG(dbgs() << " SU(" << SU->NodeNum << ") uops=" << uops << '\n');
return true;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/119551
More information about the llvm-commits
mailing list