[llvm] [CodeGen] Finish untangling LRE::scanRemattable [nfc] (PR #161963)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 4 10:58:35 PDT 2025
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 origin/main HEAD --extensions h,cpp -- llvm/include/llvm/CodeGen/LiveRangeEdit.h llvm/lib/CodeGen/InlineSpiller.cpp llvm/lib/CodeGen/LiveRangeEdit.cpp llvm/lib/CodeGen/SplitKit.cpp
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/InlineSpiller.cpp b/llvm/lib/CodeGen/InlineSpiller.cpp
index 8867e0c03..d6e85059b 100644
--- a/llvm/lib/CodeGen/InlineSpiller.cpp
+++ b/llvm/lib/CodeGen/InlineSpiller.cpp
@@ -679,7 +679,8 @@ bool InlineSpiller::reMaterializeFor(LiveInterval &VirtReg, MachineInstr &MI) {
// then further split one of those live ranges.
if (!DefMI) {
markValueUsed(&VirtReg, ParentVNI);
- LLVM_DEBUG(dbgs() << "\tcannot remat missing def for " << UseIdx << '\t' << MI);
+ LLVM_DEBUG(dbgs() << "\tcannot remat missing def for " << UseIdx << '\t'
+ << MI);
return false;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/161963
More information about the llvm-commits
mailing list