aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorNimishMishra <42909663+NimishMishra@users.noreply.github.com>2024-10-23 07:59:21 +0530
committerGitHub <noreply@github.com>2024-10-22 19:29:21 -0700
commit1cbc015551e1b2445cb215a74d1eccab80041998 (patch)
treede0c4b0a8bb02815bd9d4f2c0850b9ea128ee161 /llvm/lib/CodeGen/CodeGen.cpp
parent49ebe329052db8c1376ec6714315673af7418248 (diff)
downloadllvm-1cbc015551e1b2445cb215a74d1eccab80041998.zip
llvm-1cbc015551e1b2445cb215a74d1eccab80041998.tar.gz
llvm-1cbc015551e1b2445cb215a74d1eccab80041998.tar.bz2
[flang][OpenMP] Error out when CHARACTER type is used in atomic constructs (#113045)
According to OpenMPv5.2 1.2.6, "For Fortran, a scalar variable with intrinsic type, as defined by the base language, excluding character type.". Likewise, section 4.3.1.3 states that atomic operations are on "scalar variables of intrinsic type". This PR hence introduces a check to error out when CHARACTER type is used in atomic operations. Fixes https://github.com/llvm/llvm-project/issues/112918
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions