[PATCH] D85703: [OpenMPOpt][WIP][NOT-FOR-REVIEW] Track an ICV that determines if we are in a SPMD GPU region
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 19:24:40 PDT 2020
jdoerfert created this revision.
Herald added subscribers: llvm-commits, guansong, bollu, hiraditya, yaxunl.
Herald added a project: LLVM.
jdoerfert requested review of this revision.
NOTE: This is a draft.
We can use the new ICV tacking to do fancy optimiztions w/o much effort.
This adds all the machinery to track if we are in an "SPMD region" or
not. The corresponding getter is replaced accordingly, which can easily
result in significant performance boosts. As the ICV tacking is still a
bit in flux, we'll wait till there are a few more pieces in place. Then
we'll add tests to this and review it properly.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D85703
Files:
llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85703.284562.patch
Type: text/x-patch
Size: 7826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200811/15716a52/attachment.bin>
More information about the llvm-commits
mailing list