Add 'remark' diagnostic type in LLVM

Programming / Compilers / LLVM - Tobias Grosser [grosser.es] - 28 February 2014 03:08 UTC

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.

72c42d9 Add 'remark' diagnostic type in LLVM
include/llvm-c/lto.h | 9 +++++----
include/llvm/IR/DiagnosticInfo.h | 3 +++
lib/IR/LLVMContext.cpp | 3 +++
lib/LTO/LTOCodeGenerator.cpp | 3 +++
4 files changed, 14 insertions(+), 4 deletions(-)

Upstream: github.com


  • Share