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 9d29d9bbeb0695ec90e79017ed0fd420c073e47e 46f34a90ae7ca02fd57b59a0c38c570d0627f27f --extensions cpp -- lld/ELF/Arch/LoongArch.cpp lld/ELF/Relocations.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/lld/ELF/Arch/LoongArch.cpp b/lld/ELF/Arch/LoongArch.cpp index e60b4b4d02..17f6b3c4cd 100644 --- a/lld/ELF/Arch/LoongArch.cpp +++ b/lld/ELF/Arch/LoongArch.cpp @@ -1015,7 +1015,8 @@ static bool relax(Ctx &ctx, InputSection &sec) { // // The code sequence converted is as follows: // * lu12i.w $a0, %le_hi20(sym) # le_hi20 != 0, otherwise NOP -// * ori $a0, src, %le_lo12(sym) # le_hi20 != 0, src = $a0, otherwise src = $zero +// * ori $a0, src, %le_lo12(sym) # le_hi20 != 0, src = $a0, otherwise src +// = $zero // // When relaxation enables, redundant NOPs can be removed. void LoongArch::tlsIeToLe(uint8_t *loc, const Relocation &rel, `````````` </details> https://github.com/llvm/llvm-project/pull/123680 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits