[LLVMdev] Flag to print vectorized loops

Nadav Rotem nrotem at apple.com
Mon Nov 26 15:23:45 PST 2012


Hi Sebastian, 

Thanks for looking at this.  I don't think that printing to stdout is the right thing to do. I think that we need to go through the clang driver.  

Nadav

On Nov 26, 2012, at 3:20 PM, Sebastian Pop <spop at codeaurora.org> wrote:

> Hi,
> 
> Nadav Rotem wrote:
>> 
>> On Nov 26, 2012, at 1:46 PM, Sebastian Pop <spop at codeaurora.org> wrote:
>>> It would be a quick and easy contribution to add a flag to print on stdout the
>>> loops being vectorized.
>> 
>> Okay. I am not sure how chris feels about printing to stdout. We should bring it up on the mailing list. 
> 
> Both GCC and ICC have a flag that prints out a message when a loop has been
> vectorized.  Would the attached patch be ok to commit?
> 
> Thanks,
> Sebastian
> -- 
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
> <0001-add-flag-print-vectorized-loops.patch>




More information about the llvm-dev mailing list