[llvm] [RISCV] Simplify macros used by RISCVInstrInfo::convertToThreeAddress. NFC (PR #144173)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 13 16:43:48 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 HEAD~1 HEAD --extensions cpp -- llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp b/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
index 5264766c5..50bfd0d0e 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
@@ -4274,8 +4274,8 @@ bool RISCVInstrInfo::simplifyInstruction(MachineInstr &MI) const {
CASE_FP_WIDEOP_CHANGE_OPCODE_COMMON(OP, M2, E16) \
CASE_FP_WIDEOP_CHANGE_OPCODE_COMMON(OP, M2, E32) \
CASE_FP_WIDEOP_CHANGE_OPCODE_COMMON(OP, M4, E16) \
- CASE_FP_WIDEOP_CHANGE_OPCODE_COMMON(OP, M4, E32) \
-// clang-format on
+ CASE_FP_WIDEOP_CHANGE_OPCODE_COMMON(OP, M4, E32) \
+ // clang-format on
MachineInstr *RISCVInstrInfo::convertToThreeAddress(MachineInstr &MI,
LiveVariables *LV,
``````````
</details>
https://github.com/llvm/llvm-project/pull/144173
More information about the llvm-commits
mailing list