diff options
| author | Florian Hahn <flo@fhahn.com> | 2025-11-13 22:34:55 +0000 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2025-11-13 22:34:55 +0000 |
| commit | a6edeedbfa308876d6f2b1648729d52970bb07e6 (patch) | |
| tree | 6d2ea5f14cb1b9225c345ab74276b7fe9b02d609 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
| parent | 79cd1b7a25cdbf42c7234999ae9bc51db30af1f0 (diff) | |
Revert "[LV] Use ExtractLane(LastActiveLane, V) live outs when tail-folding. (#149042)"
This reverts commit 62d1a080e69e3c5e98840e000135afa7c688a77b.
This appears to be causing some runtime failures on RISCV
https://lab.llvm.org/buildbot/#/builders/210/builds/5221
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index f4629d22002d..83844287adc5 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -8893,8 +8893,7 @@ void LoopVectorizationPlanner::adjustRecipesForReductions( if (FinalReductionResult == U || Parent->getParent()) continue; U->replaceUsesOfWith(OrigExitingVPV, FinalReductionResult); - if (match(U, m_CombineOr(m_ExtractLastElement(m_VPValue()), - m_ExtractLane(m_VPValue(), m_VPValue())))) + if (match(U, m_ExtractLastElement(m_VPValue()))) cast<VPInstruction>(U)->replaceAllUsesWith(FinalReductionResult); } |
