[llvm] [ValueTracking][NFC]: Use injected condition to compute known FPClass (PR #139832)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 13 21:01:38 PDT 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 HEAD~1 HEAD --extensions cpp,h -- llvm/include/llvm/Analysis/SimplifyQuery.h llvm/lib/Analysis/ValueTracking.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp
index 527e8c549..e7d937a08 100644
--- a/llvm/lib/Analysis/ValueTracking.cpp
+++ b/llvm/lib/Analysis/ValueTracking.cpp
@@ -5015,8 +5015,8 @@ static KnownFPClass computeKnownFPClassFromContext(const Value *V,
KnownFPClass KnownFromContext;
if (Q.CC && Q.CC->AffectedValues.contains(V))
- computeKnownFPClassFromCond(V, Q.CC->Cond, 0, Q.CC->CondIsTrue,
- Q.CxtI, KnownFromContext);
+ computeKnownFPClassFromCond(V, Q.CC->Cond, 0, Q.CC->CondIsTrue, Q.CxtI,
+ KnownFromContext);
if (!Q.CxtI)
return KnownFromContext;
``````````
</details>
https://github.com/llvm/llvm-project/pull/139832
More information about the llvm-commits
mailing list