[llvm] [CVP] Don't try to fold load/store operands to constant (PR #73338)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 24 07:18:39 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 5e5a22caf88ac1ccfa8dc5720295fdeba0ad9372 b82eb1e065cb20f3438928f6a2806d3a511785ee -- 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 1bdc441d18..dfb64d88b4 100644
--- a/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
+++ b/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
@@ -54,7 +54,7 @@ static cl::opt<bool> CanonicalizeICmpPredicatesToUnsigned(
STATISTIC(NumPhis, "Number of phis propagated");
STATISTIC(NumPhiCommon, "Number of phis deleted via common incoming value");
-STATISTIC(NumSelects, "Number of selects propagated");
+STATISTIC(NumSelects, "Number of selects propagated");
STATISTIC(NumCmps, "Number of comparisons propagated");
STATISTIC(NumReturns, "Number of return values propagated");
STATISTIC(NumDeadCases, "Number of switch cases removed");
``````````
</details>
https://github.com/llvm/llvm-project/pull/73338
More information about the llvm-commits
mailing list