[llvm] [VPlan] Add VPIRBasicBlock, use to model pre-preheader. (PR #93398)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 07:26:13 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 3864bfd2e0ce7e32fd623c550660885599383e6a 38c2da3b716cd0ccbfdb07f06fa98e7164a50e4a -- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp llvm/lib/Transforms/Vectorize/VPlan.cpp llvm/lib/Transforms/Vectorize/VPlan.h llvm/unittests/Transforms/Vectorize/VPlanTestBase.h
``````````
</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 b53fd38574..df165967fa 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/llvm/lib/Transforms/Vectorize/VPlan.h
@@ -473,11 +473,7 @@ public:
/// that are actually instantiated. Values of this enumeration are kept in the
/// SubclassID field of the VPBlockBase objects. They are used for concrete
/// type identification.
- using VPBlockTy = enum {
- VPBasicBlockSC,
- VPRegionBlockSC,
- VPIRBasicBlockSC
- };
+ using VPBlockTy = enum { VPBasicBlockSC, VPRegionBlockSC, VPIRBasicBlockSC };
using VPBlocksTy = SmallVectorImpl<VPBlockBase *>;
``````````
</details>
https://github.com/llvm/llvm-project/pull/93398
More information about the llvm-commits
mailing list