[llvm] [RISCV] Prune dead LI in vsetvli coalescing with trivially dead vsetvli (PR #98647)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 12 08:10:56 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 90abdf83e273586a43e1270e5f0a11de5cc35383 5f403a9fe03ee1d1781917b3eb6cf417ac016a8f --extensions cpp -- llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
index 76aed9b408..e8c22ff97a 100644
--- a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
+++ b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
@@ -1727,7 +1727,6 @@ void RISCVInsertVSETVLI::coalesceVSETVLIs(MachineBasicBlock &MBB) const {
MI->eraseFromParent();
if (OldAVLReg && OldAVLReg.isVirtual())
afterDroppedAVLUse(OldAVLReg);
-
}
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/98647
More information about the llvm-commits
mailing list