[PATCH] D36127: [OptDiag] Updating Remarks in SampleProfile

Tarun Rajendran via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 17:51:30 PDT 2017


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

Updating remark API to newer OptimizationDiagnosticInfo API. This allows remarks to show up in diagnostic yaml file, and enables use of opt-viewer tool.

Hotness information for remarks (L505 and L751) do not display hotness information, most likely due to profile information not being propagated yet. Unsure if this is the desired outcome.


Repository:
  rL LLVM

https://reviews.llvm.org/D36127

Files:
  lib/Transforms/IPO/SampleProfile.cpp
  test/Transforms/SampleProfile/remarks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36127.109039.patch
Type: text/x-patch
Size: 11941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170801/b28bdf39/attachment.bin>


More information about the llvm-commits mailing list