diff options
author | Adam Nemet <anemet@apple.com> | 2017-01-25 23:20:25 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2017-01-25 23:20:25 +0000 |
commit | 484f93db30367766642f6688c841497bec8bf42d (patch) | |
tree | 98d0c8f5fe1e27623a3351b23a9752e22c81c53f /llvm/lib/CodeGen/MachineLoopInfo.cpp | |
parent | cb904604c9732628b0f42fdf55b1b8d2ed9569f5 (diff) | |
download | bcm5719-llvm-484f93db30367766642f6688c841497bec8bf42d.tar.gz bcm5719-llvm-484f93db30367766642f6688c841497bec8bf42d.zip |
[OptDiag] Split code region out of DiagnosticInfoOptimizationBase
Code region is the only part of this class that is IR-specific. Code
region is moved down in the inheritance tree to a new derived class,
called DiagnosticInfoIROptimization.
All the existing remarks are derived from this new class now.
This allows the new MIR pass-remark classes to be derived from
DiagnosticInfoOptimizationBase.
Also because we keep the name DiagnosticInfoOptimizationBase, the clang
parts don't need any adjustment.
Differential Revision: https://reviews.llvm.org/D29003
llvm-svn: 293109
Diffstat (limited to 'llvm/lib/CodeGen/MachineLoopInfo.cpp')
0 files changed, 0 insertions, 0 deletions