[Polly] Introduce reduction types

Tobias Grosser tobias at grosser.es
Mon Jun 30 23:24:15 PDT 2014


On 01/07/2014 01:06, Johannes Doerfert wrote:
> Hey Tobi,
>
>
>
> I attached a patch to introduce reduction types and changed the test cases
> to check for the right type.
>
> This will ease more general detection and allows us later during code
> generation to get the right initialization/aggregation values/operands.
>
>
>
> I know you asked before why I don't reuse the Vectorizer enum here so I want
> to answer that question in advance:
>
> 1)      It is not accessible from outside the cpp where it is declared.
>
> 2)      It is unnecessarily complex (stores the type and has a second enum
> to distinguish specialize min/max reductions)
>
>
>
> What do you think?

I think you forgot to attach the patch. ;-)

Tobias




More information about the llvm-commits mailing list