[flang-commits] [llvm] [flang] [flang][OpenMP] Add semantic check for target data (PR #71560)

via flang-commits flang-commits at lists.llvm.org
Tue Nov 7 11:40:20 PST 2023


shraiysh wrote:

Wouldn't that end up with crashes in the later stages of the compiler - where the code generation might be happening specific to the openmp version? For example, the MLIR module has an attribute with openmp version which I am assuming is used at some places - and the code generation there will assume that the restrictions are applied and checked by the frontend. `clang` has semantic checks based on OpenMP version.

https://github.com/llvm/llvm-project/pull/71560


More information about the flang-commits mailing list