[OpenMP] Change analysis remarks to not emit on cold functions
authorJoseph Huber <jhuber6@vols.utk.edu>
Wed, 30 Jun 2021 14:55:14 +0000 (10:55 -0400)
committerHuber, Joseph <huberjn@ornl.gov>
Wed, 30 Jun 2021 15:54:24 +0000 (11:54 -0400)
commitecabc6684f23cb65925d62fac9a14ab52d07951a
treee51ed2360520d51998a6a5adecf3ab5ad8f2709c
parentb447445eaa6f8ff826a7eab276c10bc6f133aeb0
[OpenMP] Change analysis remarks to not emit on cold functions

The remarks will trigger on some functions that are marked cold, such as the
`__muldc3` intrinsic functions. Change the remarks to avoid these functions.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D105196
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
llvm/test/Transforms/OpenMP/single_threaded_execution.ll