[llvm] [ValueTracking][KnownFPClass] cover known no-infinity cases for powi (PR #191736)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 13 03:03:50 PDT 2026
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 origin/main HEAD --extensions cpp -- llvm/lib/Analysis/ValueTracking.cpp llvm/lib/Support/KnownFPClass.cpp llvm/unittests/Analysis/ValueTrackingTest.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/Analysis/ValueTrackingTest.cpp b/llvm/unittests/Analysis/ValueTrackingTest.cpp
index 4034e2982..1d3c9a272 100644
--- a/llvm/unittests/Analysis/ValueTrackingTest.cpp
+++ b/llvm/unittests/Analysis/ValueTrackingTest.cpp
@@ -1945,7 +1945,7 @@ TEST_F(ComputeKnownFPClassTest, PowiInfFirst) {
EXPECT_EQ(Expected, Known.isKnownNeverInfinity());
};
- ExpectKnownNeverInf(A, true);
+ ExpectKnownNeverInf(A, true);
ExpectKnownNeverInf(A2, false);
ExpectKnownNeverInf(A3, true);
ExpectKnownNeverInf(A4, true);
``````````
</details>
https://github.com/llvm/llvm-project/pull/191736
More information about the llvm-commits
mailing list