diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-02-27 08:46:32 -0600 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-02-27 10:48:20 -0600 |
commit | 853d4059135bdadf74d67f59215b21026b6f939e (patch) | |
tree | d1425530392671e8f94ecde17f95246c33c77ff6 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 54acf9a3a31ef1a18b7b9b10143296e7c3c077fd (diff) | |
download | llvm-853d4059135bdadf74d67f59215b21026b6f939e.zip llvm-853d4059135bdadf74d67f59215b21026b6f939e.tar.gz llvm-853d4059135bdadf74d67f59215b21026b6f939e.tar.bz2 |
[OpenMP] Ignore implicit casts on assertion for `use_device_ptr`
There was an assertion triggering when invoking a captured member whose
initializer was in a blase class. This patch fixes it by allowing the
assertion on implicit casts to the base class rather than only the base
class itself.
Fixes https://github.com/llvm/llvm-project/issues/61027
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D144873
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions