[compiler-rt] [compiler-rt] optimize __umodti3 (PR #82353)

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 04:46:06 PST 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 d2a26a7bd5fc7cc5752337b7f4f999642feb37dc be431fca47a034ff5df0c8026d43a9d1a075ffc0 -- compiler-rt/lib/builtins/umodti3.c compiler-rt/test/builtins/Unit/umodti3_test.c
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/test/builtins/Unit/umodti3_test.c b/compiler-rt/test/builtins/Unit/umodti3_test.c
index 2054cac507..922b9e2ef9 100644
--- a/compiler-rt/test/builtins/Unit/umodti3_test.c
+++ b/compiler-rt/test/builtins/Unit/umodti3_test.c
@@ -42,9 +42,9 @@ int main()
     if (test__umodti3(2, 1, 0))
         return 1;
     if (test__umodti3(123, 1000, 123))
-        return 1;
+      return 1;
     if (test__umodti3(123, 77, 46))
-        return 1;
+      return 1;
     if (test__umodti3(make_tu(0x8000000000000000uLL, 0), 1, 0x0uLL))
         return 1;
     if (test__umodti3(make_tu(0x8000000000000000uLL, 0), 2, 0x0uLL))

``````````

</details>


https://github.com/llvm/llvm-project/pull/82353


More information about the llvm-commits mailing list