[llvm] [CVP][LVI] Add support for InsertElementInst in LVI (PR #99368)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 17 11:42:07 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 81955da03bd4731b668fee401b3d6aca8b7d4da6 bfc272b346c6752c17f5be5b4fea0e1cbdd1e1de --extensions cpp -- llvm/lib/Analysis/LazyValueInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Analysis/LazyValueInfo.cpp b/llvm/lib/Analysis/LazyValueInfo.cpp
index d28d4fa47f..a8481a1b61 100644
--- a/llvm/lib/Analysis/LazyValueInfo.cpp
+++ b/llvm/lib/Analysis/LazyValueInfo.cpp
@@ -1045,7 +1045,7 @@ LazyValueInfoImpl::solveBlockValueIntrinsic(IntrinsicInst *II, BasicBlock *BB) {
std::optional<ValueLatticeElement>
LazyValueInfoImpl::solveBlockValueInsertElement(InsertElementInst *IEI,
- BasicBlock *BB) {
+ BasicBlock *BB) {
std::optional<ValueLatticeElement> OptEltVal =
getBlockValue(IEI->getOperand(1), BB, IEI);
if (!OptEltVal)
``````````
</details>
https://github.com/llvm/llvm-project/pull/99368
More information about the llvm-commits
mailing list