[PATCH] D102423: [OpenMP] Change OpenMPOpt to check openmp metadata
Joseph Huber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 13 10:42:48 PDT 2021
jhuber6 created this revision.
jhuber6 added a reviewer: jdoerfert.
Herald added subscribers: guansong, hiraditya, yaxunl, jvesely.
jhuber6 requested review of this revision.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.
The metadata added in D102361 <https://reviews.llvm.org/D102361> introduces a module flag that we can check
to determine if the module was compiled with `-fopenmp` enables. We can
now check for the precense of this instead of scanning the call graph
for OpenMP runtime functions.
Depends on D102361 <https://reviews.llvm.org/D102361>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D102423
Files:
llvm/include/llvm/Transforms/IPO/OpenMPOpt.h
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
llvm/test/Transforms/OpenMP/add_attributes.ll
llvm/test/Transforms/OpenMP/add_attributes_amdgcn.ll
llvm/test/Transforms/OpenMP/deduplication.ll
llvm/test/Transforms/OpenMP/deduplication_remarks.ll
llvm/test/Transforms/OpenMP/globalization_remarks.ll
llvm/test/Transforms/OpenMP/gpu_kernel_detection_remarks.ll
llvm/test/Transforms/OpenMP/gpu_state_machine_function_ptr_replacement.ll
llvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll
llvm/test/Transforms/OpenMP/icv_remarks.ll
llvm/test/Transforms/OpenMP/icv_tracking.ll
llvm/test/Transforms/OpenMP/parallel_deletion.ll
llvm/test/Transforms/OpenMP/parallel_deletion_remarks.ll
llvm/test/Transforms/OpenMP/parallel_region_merging.ll
llvm/test/Transforms/OpenMP/rtf_type_checking.ll
llvm/test/Transforms/OpenMP/single_threaded_execution.ll
llvm/test/Transforms/OpenMP/values_in_offload_arrays.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102423.345213.patch
Type: text/x-patch
Size: 33007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210513/8732bdc3/attachment.bin>
More information about the llvm-commits
mailing list