Displaying 2 results from an estimated 2 matches for "optreport".
Did you mean:
opreport
2013 Jul 29
0
[LLVMdev] [RFC] Add warning capabilities in LLVM.
...experimenting to see how one might implement a feature like ICC's -vec–report feature in clang/llvm. My approach was to create an ImmutablePass which stores notes. I modified the loop vectorizer and the unroll pass to add notes when loops were vectorized or unrolled.
On the clang side I add an OptReport to the pass manager and dump out the notes as diagnostics. It worked ok as a prototype but getting the source locations correct was a bit fragile.
I've attached some patches in case you're interested.
Paul
From: Quentin Colombet <qcolombet at apple.com<mailto:qcolombet at apple.c...
2013 Jul 17
8
[LLVMdev] [RFC] Add warning capabilities in LLVM.
Hi,
I would like to start a discussion about error/warning reporting in LLVM and how we can extend the current mechanism to take advantage of clang capabilities.
** Motivation **
Currently LLVM provides a way to report error either directly (print to stderr) or by using a user defined error handler. For instance, in inline asm parsing, we can specify the diagnostic handler to report the errors