llvm / llvm/llvm-project

[LoopVectorize] Add VPlan infrastructure for check-first vectorization

Open
#215,468 0 comments 0 reactions 0 assignees View on GitHub
vectorizers
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

Add the foundational VPlan infrastructure required to implement check-first vectorization for loops with multiple early exits.
This includes:
1. Adding the VPlan state and APIs needed by check-first vectorization.
2. Adding a supporting recipe and verifier changes.

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing VPlan state and APIs used for vectorization, then read the supporting recipe and verifier code. Done means adding the check-first vectorization state and APIs, a supporting recipe, and the required verifier changes for loops with multiple early exits.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.