[llvm] [GISel] Add G_FDIV to CSE (PR #123624)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 06:46:23 PST 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 b5df0e71082fc9b11a9ecf85599a453d21f1025a ec075b92842003a351c6012b35858a7ed697783d --extensions cpp -- llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp llvm/unittests/CodeGen/GlobalISel/CSETest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp b/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp
index 4d3ff1ffcc..3f97607ae7 100644
--- a/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp
+++ b/llvm/unittests/CodeGen/GlobalISel/CSETest.cpp
@@ -36,7 +36,6 @@ TEST_F(AArch64GISelMITest, TestFPCSE) {
CSEInfo.print();
// Build some
-
}
TEST_F(AArch64GISelMITest, TestCSE) {
@@ -131,7 +130,6 @@ TEST_F(AArch64GISelMITest, TestCSE) {
auto Undef1 = CSEB.buildUndef(s32);
EXPECT_EQ(&*Undef0, &*Undef1);
-
// If the observer is installed to the MF, CSE can also
// track new instructions built without the CSEBuilder and
// the newly built instructions are available for CSEing next
``````````
</details>
https://github.com/llvm/llvm-project/pull/123624
More information about the llvm-commits
mailing list