[llvm] [VPlan] Set the containing plan when creating blocks (NFC). (PR #223269)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 13 12:27:32 PDT 2026
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 origin/main HEAD --extensions cpp,h -- llvm/lib/Transforms/Vectorize/VPlan.cpp llvm/lib/Transforms/Vectorize/VPlan.h --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/Vectorize/VPlan.h b/llvm/lib/Transforms/Vectorize/VPlan.h
index 765446187..a4b2596a0 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/llvm/lib/Transforms/Vectorize/VPlan.h
@@ -120,7 +120,8 @@ private:
/// List of successor blocks.
SmallVector<VPBlockBase *, 1> Successors;
- /// VPlan containing the block. Set when the block is created via VPlan helpers.
+ /// VPlan containing the block. Set when the block is created via VPlan
+ /// helpers.
VPlan *Plan = nullptr;
/// Subclass identifier (for isa/dyn_cast).
``````````
</details>
https://github.com/llvm/llvm-project/pull/223269
More information about the llvm-commits
mailing list