diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2021-08-17 20:29:54 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2021-08-18 11:24:29 -0400 |
commit | 58f93264878a3fb9db9d901c5d7dfdcde4291d6a (patch) | |
tree | add9e113cb09e32d709c1edc34d1d0ea52baf87e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | edb8acdc6ea291308ee3b1b0e697adba183ccd5e (diff) | |
download | llvm-58f93264878a3fb9db9d901c5d7dfdcde4291d6a.zip llvm-58f93264878a3fb9db9d901c5d7dfdcde4291d6a.tar.gz llvm-58f93264878a3fb9db9d901c5d7dfdcde4291d6a.tar.bz2 |
[OpenMP] Change AAKernelInfo to ignore non-kernels
Currently, AAKernelInfo will fail on an assertion if we attempt to run
it on a kernel without the init / deinit runtime calls. However, this
occurs for global constructors on the device. This will cause OpenMPOpt
to crash whenever global constructors are present. This patch removes
this assertion and just gives up instead.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D108258
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions