Add 'remark' diagnostic type in LLVM

Alp Toker alp at nuanti.com
Tue Feb 25 02:48:53 PST 2014


On 25/02/2014 10:18, Tobias Grosser wrote:
> Hi,
>
> I would like to add the following patch.
>
> --------------
> Add 'remark' diagnostic type in LLVM
>
> A 'remark' is information that is not an error or a warning, but 
> rather some additional information provided to the user. In contrast 
> to a 'note' a 'remark' is an independent diagnostic, whereas a 'note' 
> always depends on another diagnostic.
>
> A typical use case for remark nodes is information provided to the 
> user, e.g. information provided by the vectorizer about loops that 
> have been vectorized.


One nice thing about warnings is that they can be suppressed with -Wno 
or upgraded to errors with -Werror= and effort has been made to ensure 
each warning has an associated option (mostly useful for built-in 
diagnostics).

I'm guessing this remark capability is intended to support Quentin's 
backend diagnostics -- could you provide some background on the planned 
mechanism to enable or suppress them?

Alp.


> --------------
>
> A review would be highly appreciated.
>
> Tobias
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-- 
http://www.nuanti.com
the browser experts




More information about the llvm-commits mailing list