diff options
author | Thirumalai Shaktivel <74826228+Thirumalai-Shaktivel@users.noreply.github.com> | 2025-01-28 08:27:42 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-28 08:27:42 +0530 |
commit | ba789c6f82a911f90a5d20b637e02df4439d0153 (patch) | |
tree | cb2cc445e863191c36f58914eeff9bbd6f30d757 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 0bbfd96a3a8e9cf2d4e79ef0826f7c189a017598 (diff) | |
download | llvm-ba789c6f82a911f90a5d20b637e02df4439d0153.zip llvm-ba789c6f82a911f90a5d20b637e02df4439d0153.tar.gz llvm-ba789c6f82a911f90a5d20b637e02df4439d0153.tar.bz2 |
[Flang] Add semantics checks for CrayPointer usage in DSA list (#123171)
Follow-up PR to fix the failure caused here:
https://github.com/llvm/llvm-project/pull/121028
Failure:
https://lab.llvm.org/buildbot/#/builders/89/builds/14474
Problems:
- Cray pointee cannot be used in the DSA list (If used results in segmentation fault)
- Cray pointer has to be in the DSA list when Cray pointee is used in the default (none) region
Fix: Added required semantic checks along the tests
Reference from the documentation (OpenMP 5.0: 2.19.1):
- Cray pointees have the same data-sharing attribute as the storage with
which their Cray pointers are associated.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions