[polly] Support the new DiagnosticRemarks (v3)
Tobias Grosser
tobias at grosser.es
Fri Jun 20 02:08:37 PDT 2014
On 17/06/2014 10:43, Andreas Simbuerger wrote:
> Add support for generating optimization remarks after completing the
> detection of Scops.
> The goal is to provide end-users with useful hints about opportunities that
> help to increase the size of the detected Scops in their code.
>
> By default the remark is unspecified and the debug location is empty. Future
> patches have to expand on the messages generated.
>
> This patch brings a simple test case for ReportFuncCall to demonstrate the
> feature.
>
> Reports all missed opportunities to increase the size/number of valid
> Scops:
> clang <...> -Rpass-missed="polly-detect" <...>
> opt <...> -pass-remarks-missed="polly-detect" <...>
>
> Reports beginning and end of all valid Scops:
> clang <...> -Rpass="polly-detect" <...>
> opt <...> -pass-remarks="polly-detect" <...>
Sorry, I missed this one. It looks good from my side. David, any final
comments?
Tobias
More information about the llvm-commits
mailing list