This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Ignore implicit casts on assertion for `use_device_ptr`
ClosedPublic

Authored by jhuber6 on Feb 27 2023, 6:54 AM.

Details

Summary

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

Diff Detail

Event Timeline

jhuber6 created this revision.Feb 27 2023, 6:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 27 2023, 6:54 AM
jhuber6 requested review of this revision.Feb 27 2023, 6:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 27 2023, 6:54 AM
This revision is now accepted and ready to land.Feb 27 2023, 7:32 AM
This revision was landed with ongoing or failed builds.Feb 27 2023, 8:48 AM
This revision was automatically updated to reflect the committed changes.