[Polly] Introduce reduction types

Johannes Doerfert jdoerfert at codeaurora.org
Tue Jul 1 08:58:18 PDT 2014


My bad.

--

Johannes Doerfert
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation


-----Original Message-----
From: Tobias Grosser [mailto:tobias at grosser.es] 
Sent: Monday, June 30, 2014 11:24 PM
To: Johannes Doerfert; llvm-commits at cs.uiuc.edu
Cc: 'Sebastian Pop'; 'zino'
Subject: Re: [Polly] Introduce reduction types

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Introduce-reduction-types.patch
Type: application/octet-stream
Size: 21047 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140701/1f83a117/attachment.obj>


More information about the llvm-commits mailing list