[PATCH] D71989: [OpenMP][IRBuilder][WIP] Prototype `omp task` support
    Jon Chesterfield via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Dec 30 03:21:22 PST 2019
    
    
  
JonChesterfield added inline comments.
================
Comment at: openmp/runtime/src/kmp.h:2242
 
 typedef struct kmp_tasking_flags { /* Total struct must be exactly 32 bits */
   /* Compiler flags */ /* Total compiler flags must be 16 bits */
----------------
Existing code, but the comments about number of bits here should probably be executable. E.g. give the compiler and the library a uint16_t field each, assert that sizeof kmp_tasking_flags == sizeof(uint32_t). Optionally four byte align the first short.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71989/new/
https://reviews.llvm.org/D71989
    
    
More information about the llvm-commits
mailing list