[all-commits] [llvm/llvm-project] 2db182: [Diagnostics] Allow emitting analysis and missed r...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed May 19 12:11:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2db182ff8d0c0d50155bf70d1db60b4e78c348ca
      https://github.com/llvm/llvm-project/commit/2db182ff8d0c0d50155bf70d1db60b4e78c348ca
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-05-19 (Wed, 19 May 2021)

  Changed paths:
    M clang/test/OpenMP/remarks_parallel_in_multiple_target_state_machines.c
    M clang/test/OpenMP/remarks_parallel_in_target_state_machine.c
    M llvm/include/llvm/IR/DiagnosticInfo.h
    M llvm/lib/IR/DiagnosticInfo.cpp
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/test/Transforms/OpenMP/deduplication_remarks.ll
    M llvm/test/Transforms/OpenMP/gpu_kernel_detection_remarks.ll
    M llvm/test/Transforms/OpenMP/icv_remarks.ll

  Log Message:
  -----------
  [Diagnostics] Allow emitting analysis and missed remarks on functions

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

Reviewed By: jdoerfert thegameg

Differential Revision: https://reviews.llvm.org/D102784




More information about the All-commits mailing list