I'm not saying merge this, but I made a few comments/edits showing the API at a higher level.
Probably best to mention lower level things that need implementing, and then connect them to the higher level API which should be clearer.
LoopVectorization and VectorizationBase's internals don't promise to be stable. I'm still trying things out and changing them, so anything dependent on them is likely to break.
At some point in the not so distant future I should come up with more of a stable API someone can write against, so that (a) things would be a lot simpler than they are now, and (b) not prone to randomly breaking down the road.
I'm not saying merge this, but I made a few comments/edits showing the API at a higher level. Probably best to mention lower level things that need implementing, and then connect them to the higher level API which should be clearer.
LoopVectorization and VectorizationBase's internals don't promise to be stable. I'm still trying things out and changing them, so anything dependent on them is likely to break. At some point in the not so distant future I should come up with more of a stable API someone can write against, so that (a) things would be a lot simpler than they are now, and (b) not prone to randomly breaking down the road.