[PATCH] D140292: [OpenMP] Migrate OpenMPOffloadMappingFlags from Clang CodeGen to OMPConstants
Akash Banerjee via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 19 04:29:17 PST 2022
TIFitis added inline comments.
================
Comment at: llvm/include/llvm/Frontend/OpenMP/OMPConstants.h:193
- OMP_TGT_EXEC_MODE_GENERIC | OMP_TGT_EXEC_MODE_SPMD,
- LLVM_MARK_AS_BITMASK_ENUM(/* LargestValue */ OMP_TGT_EXEC_MODE_GENERIC_SPMD)
};
----------------
I am not sure if this change is safe. It can be avoided by making `OpenMPOffloadMappingFlags` an enum class.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140292/new/
https://reviews.llvm.org/D140292
More information about the cfe-commits
mailing list