[PATCH] D22694: [Inliner, OptDiag] Add hotness attribute to opt diagnostics

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 11:58:06 PDT 2016


anemet created this revision.
anemet added reviewers: hfinkel, davidxl.
anemet added a subscriber: llvm-commits.

The inliner not being a function pass requires the work-around of
generating the OptimizationRemarkEmitter and in turn BFI on demand.
This will go away after the new PM is ready.

https://reviews.llvm.org/D22694

Files:
  include/llvm/Analysis/OptimizationDiagnosticInfo.h
  include/llvm/Transforms/IPO/InlinerPass.h
  lib/Analysis/OptimizationDiagnosticInfo.cpp
  lib/Transforms/IPO/Inliner.cpp
  test/Transforms/Inline/optimization-remarks-with-hotness.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22694.65120.patch
Type: text/x-patch
Size: 15735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160722/a9ad3e2b/attachment.bin>


More information about the llvm-commits mailing list