[PATCH] D75893: [OpenMP] Add !range metadata to loads from omp.(ub/lb)
Kaushik Kulkarni via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 10 00:53:03 PDT 2020
kaushikcfd created this revision.
kaushikcfd added a reviewer: jdoerfert.
kaushikcfd added a project: OpenMP.
Herald added subscribers: llvm-commits, guansong, hiraditya.
Herald added a project: LLVM.
After invoking kmpc_for_static_init_4, values in omp.ub and omp.lb are bound by the bounds of the sequential loop. This information is passed to the IR by setting the `!range` metadata of the corresponding variables.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75893
Files:
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
llvm/test/Transforms/OpenMP/set_bound_ranges.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75893.249280.patch
Type: text/x-patch
Size: 10268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200310/1bb842db/attachment.bin>
More information about the llvm-commits
mailing list