[llvm] [ValueTracking] Make isGuaranteedNotToBeUndef() more precise (PR #76160)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 21 06:46:29 PST 2023
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 38c1ff89eee769d19ae07b585530f8edd69e124a 5ae769bdfbd043093affcea355d5edcf0651224f -- 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 276e9bde05..769d921eb1 100644
--- a/llvm/lib/Analysis/ValueTracking.cpp
+++ b/llvm/lib/Analysis/ValueTracking.cpp
@@ -6841,8 +6841,7 @@ static bool isGuaranteedNotToBeUndefOrPoison(
return true;
auto OpCheck = [&](const Value *V) {
- return isGuaranteedNotToBeUndefOrPoison(V, AC, CtxI, DT, Depth + 1,
- Kind);
+ return isGuaranteedNotToBeUndefOrPoison(V, AC, CtxI, DT, Depth + 1, Kind);
};
if (auto *Opr = dyn_cast<Operator>(V)) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/76160
More information about the llvm-commits
mailing list