diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2021-08-17 19:19:31 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2021-08-18 11:24:28 -0400 |
commit | edb8acdc6ea291308ee3b1b0e697adba183ccd5e (patch) | |
tree | ee5e1036d5ae791bc047ab37e41bc9cb10c13914 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 1ffbe8c04ff269ca9847c37036fbad943820d6ae (diff) | |
download | llvm-edb8acdc6ea291308ee3b1b0e697adba183ccd5e.zip llvm-edb8acdc6ea291308ee3b1b0e697adba183ccd5e.tar.gz llvm-edb8acdc6ea291308ee3b1b0e697adba183ccd5e.tar.bz2 |
[Libomptarget] Correctly default to Generic if exec_mode is not present
Currently, the runtime returns an error when the `exec_mode` global is
not present. The expected behvaiour is that the region will default to
Generic. This prevents global constructors from being called because
they do not contain execution mode globals.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D108255
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions