[PATCH] D102784: [Diagnostics] Allow emitting analysis and missed remarks on functions

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 09:26:24 PDT 2021


jhuber6 created this revision.
jhuber6 added a reviewer: jdoerfert.
Herald added subscribers: dexonsmith, hiraditya.
jhuber6 requested review of this revision.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

Currently, only `OptimizationRemarks` can be emitted using a Function.
Add constructors to allow this for `OptimizationRemarksAnalysis` and
`OptimizationRemarkMissed` as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D102784

Files:
  llvm/include/llvm/IR/DiagnosticInfo.h
  llvm/lib/IR/DiagnosticInfo.cpp
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp
  llvm/test/Transforms/OpenMP/deduplication_remarks.ll
  llvm/test/Transforms/OpenMP/gpu_kernel_detection_remarks.ll
  llvm/test/Transforms/OpenMP/icv_remarks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102784.346487.patch
Type: text/x-patch
Size: 14900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210519/637f7450/attachment.bin>


More information about the llvm-commits mailing list