[llvm] [VPlan] Replace VPRegionBlock with explicit CFG before execute (NFCI). (PR #117506)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 25 07:31:27 PST 2024
================
@@ -2969,8 +2963,8 @@ void InnerLoopVectorizer::fixVectorizedLoop(VPTransformState &State) {
for (Instruction *PI : PredicatedInstructions)
sinkScalarOperands(&*PI);
- VPRegionBlock *VectorRegion = State.Plan->getVectorLoopRegion();
- VPBasicBlock *HeaderVPBB = VectorRegion->getEntryBasicBlock();
+ VPBasicBlock *HeaderVPBB = cast<VPBasicBlock>(
----------------
alexey-bataev wrote:
```suggestion
auto *HeaderVPBB = cast<VPBasicBlock>(
```
https://github.com/llvm/llvm-project/pull/117506
More information about the llvm-commits
mailing list