[llvm-commits] Flag to print vectorized loops

Hal Finkel hfinkel at anl.gov
Mon Nov 26 15:46:04 PST 2012


----- Original Message -----
> From: "Sebastian Pop" <spop at codeaurora.org>
> To: "Nadav Rotem" <nrotem at apple.com>, llvm-commits at cs.uiuc.edu, llvmdev at cs.uiuc.edu
> Sent: Monday, November 26, 2012 5:20:47 PM
> Subject: [llvm-commits] Flag to print vectorized loops
> 
> 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?

Sebastian,

In my opinion, what we really need is an interface that the frontend can use to get information from the backend optimizers. Then the frontend can display this information to users in an appropriate way. Furthermore, this information should be structured (we already have a YAML parser, so that might be a good choice), and should probably directly take a Value *, BasicBlock *, Function *, etc. so that the frontend can do the appropriate mapping for the user.

 -Hal

> 
> Thanks,
> Sebastian
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
> hosted by The Linux Foundation
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> 

-- 
Hal Finkel
Postdoctoral Appointee
Leadership Computing Facility
Argonne National Laboratory



More information about the llvm-commits mailing list