[PATCH] D88243: [OpenMP] OpenMPOpt Support for Globalization Remarks
Joseph Huber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 10:43:51 PDT 2020
jhuber6 updated this revision to Diff 294111.
jhuber6 added a comment.
Herald added a subscriber: ormris.
Adding test case and changing analysis to use forEachUse. The nvptx file doesn't have the line number information after compiling with debugging symbols so the remark just says "unknown." When you get the remarks from clang it seems to print the information more than necessary.
declare_target_codegen_globalization.cpp:7:5: remark: Found thread data sharing on the GPU. Expect degraded performance due to data globalization. [-Rpass-analysis=openmp-opt]
int bar() {
^
remark: Found thread data sharing on the GPU. Expect degraded performance due to data globalization. [-Rpass-analysis=openmp-opt]
remark: Found thread data sharing on the GPU. Expect degraded performance due to data globalization. [-Rpass-analysis=openmp-opt]
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88243/new/
https://reviews.llvm.org/D88243
Files:
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
llvm/test/Transforms/OpenMP/globalization_remarks.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88243.294111.patch
Type: text/x-patch
Size: 12149 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200924/d80e93e2/attachment.bin>
More information about the llvm-commits
mailing list