[PATCH] D82193: [OpenMPOpt] ICV macro definitions

Stefan Stipanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 08:05:38 PDT 2020


sstefan1 created this revision.
sstefan1 added reviewers: jdoerfert, JonChesterfield, hamax97, jhuber6.
Herald added subscribers: llvm-commits, guansong, hiraditya, yaxunl.
Herald added a project: LLVM.
sstefan1 marked an inline comment as done.
sstefan1 added inline comments.


================
Comment at: llvm/test/Transforms/OpenMP/icv_tracking.ll:13
 
+; ICV_REMARKS: remark: <unknown>:0:0: OpenMP ICV nthreads Value: IMPLEMENTATION_DEFINED
+; ICV_REMARKS: remark: <unknown>:0:0: OpenMP ICV active_levels Value: 0
----------------
I wasn't sure how to add filenames here like in other remarks tests. Not sure we need them, but if someone knows how, please let me know.


This defines some basic information about ICVs in `OMPKinds.def`.
We also emit remarks with initial values for each function (which are default for now)
as a way to test this.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82193

Files:
  llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
  llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp
  llvm/test/Transforms/OpenMP/icv_tracking.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82193.272076.patch
Type: text/x-patch
Size: 11157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200619/5cebfa81/attachment.bin>


More information about the llvm-commits mailing list