[PATCH] D83312: [OpenMPOpt][NFC] Exposing OMPInformationCache as private header for unittesting

Hamilton Tobon-Mosquera via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 7 08:15:03 PDT 2020


hamax97 created this revision.
hamax97 added reviewers: jdoerfert, sstefan1.
hamax97 added projects: OpenMP, LLVM.
Herald added subscribers: llvm-commits, bbn, guansong, hiraditya, yaxunl.
Herald added a reviewer: baziotis.

What I propose is to move the structures that are needed in unittesting to the private header file `OpenMPOptPriv.h`. I this patch I only moved `OMPInformationCache` beacause that's the one I needed for writing the unittest of one of the functions. But, we can progressively move what is needed to be tested here.


https://reviews.llvm.org/D83312

Files:
  llvm/lib/Transforms/IPO/OpenMPOpt.cpp
  llvm/lib/Transforms/IPO/OpenMPOptPriv.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83312.276074.patch
Type: text/x-patch
Size: 15941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200707/c106ecfa/attachment.bin>


More information about the llvm-commits mailing list