[llvm] [NFC] Add CmpIntrinsic class to represent calls to UCMP/SCMP intrinsics (PR #98177)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 9 08:53:01 PDT 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 72937203dd3beb294b52d5e61d1523acf046456f 9cc2c2795d1eaf23f7fc5a503a65ac4a4f7a60b4 -- llvm/include/llvm/IR/IntrinsicInst.h llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp b/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
index 596078407e..95de8eceb6 100644
--- a/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
+++ b/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
@@ -657,7 +657,7 @@ static bool processCallSite(CallBase &CB, LazyValueInfo *LVI) {
return processAbsIntrinsic(&cast<IntrinsicInst>(CB), LVI);
}
- if (auto* CI = dyn_cast<CmpIntrinsic>(&CB)) {
+ if (auto *CI = dyn_cast<CmpIntrinsic>(&CB)) {
return processCmpIntrinsic(CI, LVI);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/98177
More information about the llvm-commits
mailing list