[PATCH] D29003: [OptDiag] Move everything but code region into a new base class for DiagnosticInfoOptimizationBase

Adam Nemet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 22 21:47:40 PST 2017


anemet created this revision.
Herald added a subscriber: fhahn.

The idea is that the new MIR pass-remark classes will derive from the
new base class (DiagnosticInfoOptimizationCommonBase).  IR and MIR pass
remarks differ only in their code region (MBB vs. BB) and we want to
share the streaming and other functionality as much as we can.

Clang parts will be adjusted as part of the patch that
makes -fsave-optimization-record work for MIR pass remarks.


https://reviews.llvm.org/D29003

Files:
  include/llvm/Analysis/OptimizationDiagnosticInfo.h
  include/llvm/IR/DiagnosticInfo.h
  lib/Analysis/OptimizationDiagnosticInfo.cpp
  lib/IR/DiagnosticInfo.cpp
  lib/IR/LLVMContext.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29003.85319.patch
Type: text/x-patch
Size: 16566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170123/40cc28d7/attachment.bin>


More information about the llvm-commits mailing list