diff options
| author | Ramkumar Ramachandra <ramkumar.ramachandra@codasip.com> | 2025-10-08 09:19:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-08 09:19:48 +0100 |
| commit | 772071bb75772ddff43c9525f2b66077fd873c04 (patch) | |
| tree | e3235bf47c011cba590e0faa05bb24824265ccd4 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
| parent | 7296734394ce5e8b4041216872741fec83396616 (diff) | |
[LV] Improve code using VPIRPhi::getIRPhi (NFC) (#162270)
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index cee08ef94aeb..0b7963b98e7a 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -7282,8 +7282,8 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan( if (!Exit->hasPredecessors()) continue; for (VPRecipeBase &PhiR : Exit->phis()) - SE.forgetLcssaPhiWithNewPredecessor( - OrigLoop, cast<PHINode>(&cast<VPIRPhi>(PhiR).getInstruction())); + SE.forgetLcssaPhiWithNewPredecessor(OrigLoop, + &cast<VPIRPhi>(PhiR).getIRPhi()); } // Forget the original loop and block dispositions. SE.forgetLoop(OrigLoop); |
