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 h,cpp -- 
clang/test/CodeGen/Mips/unreachable.cpp llvm/lib/Target/Mips/MipsInstrInfo.cpp 
llvm/lib/Target/Mips/MipsInstrInfo.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Target/Mips/MipsInstrInfo.cpp 
b/llvm/lib/Target/Mips/MipsInstrInfo.cpp
index 0abe228b7..5a30c2d7d 100644
--- a/llvm/lib/Target/Mips/MipsInstrInfo.cpp
+++ b/llvm/lib/Target/Mips/MipsInstrInfo.cpp
@@ -89,7 +89,8 @@ MipsInstrInfo::GetMemOperand(MachineBasicBlock &MBB, int FI,
 
 MCInst MipsInstrInfo::getNop() const {
   MCInst Nop;
-  // using Mips::NOP gives "fatal error: error in backend: Not supported 
instr: <MCInst 580>"
+  // using Mips::NOP gives "fatal error: error in backend: Not supported instr:
+  // <MCInst 580>"
   Nop.setOpcode(Mips::SSNOP);
   return Nop;
 }

``````````

</details>


https://github.com/llvm/llvm-project/pull/135524
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to