dblaikie added a comment.

> as a more general diagnostic output, like the other printing passes.

As an aside: I don't think any "printing pass" is designed to be used beyond 
LLVM compiler engineers - they're implementation details of the compiler, 
even/much moreso than the optimization remarks infrastructure, which is 
user-surfaced/clang-flag-supported/passed through suitable APIs (rather than 
emitted raw to streams from the middle/backend). Optimization remarks are 
plumbed through the diagnostic infrastructure, can be suppressed/enabled, have 
file/line info at least some of the time, get all the clang diagnostic 
formatting infrastructure (eg: current work to have a SARIF output mode would 
be done up in clang, etc - and raw/direct output from LLVM wouldn't be 
captured/handled by that work, for instance), colouring, etc.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135488/new/

https://reviews.llvm.org/D135488

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to