WIP: Vector reductions
As talked about in Atlanta, this implements reductions over vectorized inames!
Some steps:
-
realize_reductions
gets a callback for reductions of vec-tagged inames -
In realize_reductions
the logic "instruction generated => reduction was realized" is removed, because vector reductions do not necessarily write new instructions -
adds emit_vector_reduction
toASTBuilderBase
. By default, it throwsUnvectorizable
. -
fall back to the sequential branch, if the target throws Unvectorizable
Still really WIP, committed for CI-use right now.