diff options
| author | Shih-Po Hung <shihpo.hung@sifive.com> | 2025-04-18 10:57:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-18 10:57:11 +0800 |
| commit | e5263e3ec83cf662f945a067ffc83e2ed76d9aed (patch) | |
| tree | 6d6b8150e32a5ac5c90d11ddc42ba02162b05c20 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | a04580f71b98bdb12100da66c9975e9a1001b4d6 (diff) | |
[LV][NFC] Clean up tail-folding check for early-exit loops (#133931)
This patch moves the check for a single latch exit from computeMaxVF()
to LoopVectorizationLegality::canFoldTailByMasking(), as it duplicates
the logic when foldTailByMasking() returns false.
It also updates the NoScalarEpilogueNeeded logic to return false for
loops that are neither single-latch-exit nor early-exit. This avoids
applying tail-folding in unsupported cases and prevents triggering
assertions during analysis.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
