diff options
author | Joel E. Denny <jdenny.ornl@gmail.com> | 2021-03-04 11:18:13 -0500 |
---|---|---|
committer | Joel E. Denny <jdenny.ornl@gmail.com> | 2021-03-04 12:03:42 -0500 |
commit | bfe5452b93a7d859f612bf7e8b46aa626c8c8e83 (patch) | |
tree | dcdd57ae7c067a59725a52b166a8a936735ae87b /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 10c18c69f2a8372c6a85e4654e00d11b479119aa (diff) | |
download | llvm-bfe5452b93a7d859f612bf7e8b46aa626c8c8e83.zip llvm-bfe5452b93a7d859f612bf7e8b46aa626c8c8e83.tar.gz llvm-bfe5452b93a7d859f612bf7e8b46aa626c8c8e83.tar.bz2 |
[OpenMP] Fix lone target exit data
Without this patch, an `omp target exit data` before the runtime is
initialized produces a runtime error. This patch fixes that by
changing `__tgt_target_data_end_mapper` to call `CheckDeviceAndCtors`
like many other runtime routines.
Discussed at
<https://lists.llvm.org/pipermail/openmp-dev/2021-March/003920.html>.
Reviewed By: grokos
Differential Revision: https://reviews.llvm.org/D97907
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions