[PATCH] D19678: Annotated-source optimization reports (a.k.a. "listing" files)

Hal Finkel via cfe-commits cfe-commits at lists.llvm.org
Mon May 2 16:14:04 PDT 2016


hfinkel added a comment.

In http://reviews.llvm.org/D19678#416127, @rcox2 wrote:

> Actually, the Intel compiler distinguishes between an optimization report (-qopt-report) and an annotated listing (-qopt-report-annotate).  The optimization report lists the info for optimizations in a hierarchical fashion.  To use you example,
>
>   icc -c -O3 -qopt-report=1 -qopt-report-file=stderr v.c 
>
> yields:


Robert, John, (et al.), do you think I should change this to have an -foptimization-report-file=<filename> and -foptimization-report, instead of -foptimization-report=<filename>? In the future, when we have multiple kinds of reports (a detailed inlining report, for example), maybe we want to use -foptimization-report=inlining,somethingelse,andmore?


http://reviews.llvm.org/D19678





More information about the cfe-commits mailing list