[polly][vectorizer] do not emit bitcast i32** to <1 x i32*>*

Sebastian Pop spop at codeaurora.org
Wed Oct 16 20:07:29 PDT 2013


Tobias Grosser wrote:
> On 10/15/2013 06:33 PM, Sebastian Pop wrote:
> >Hi Tobi,
> >
> >Sebastian Pop wrote:
> >>Tobias Grosser wrote:
> >>>1) Bitcast patch
> >>>
> >>>The patch goes definitely in the right direction. However, it would
> >>>be nice if you could besides modifying the existing test cases also
> >>>provide a test cases that fail without these changes.
> >>
> >>I will reduce a testcase and repost the patch for review.
> >
> >Here is a C reduced testcase: (thanks to http://embed.cs.utah.edu/creduce/ )
> 
> Thanks.
> 
> >I was not able to write a Polly specific testcase that would fail with opt.
> >Tobi, can you help extracting a testcase?
> 
> Yes, attached.
> 
> Run it with:
> 
> polly-opt -O3 -polly -polly-vectorizer=polly -polly-ignore-aliasing
> 

See attached the amended patch with this testcase.  Ok to commit?

Thanks,
Sebastian
-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-do-not-emit-bitcast-i32-to-1-x-i32.patch
Type: text/x-diff
Size: 12043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131016/51ecd7c7/attachment.patch>


More information about the llvm-commits mailing list