This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Don't call inferCUDATargetForImplicitSpecialMember too early.
ClosedPublic

Authored by tra on Mar 31 2022, 12:37 PM.

Details

Summary

Otherwise we may crash because the special member has not been sufficiently set up yet.
Fixes #54537

Diff Detail

Event Timeline

tra created this revision.Mar 31 2022, 12:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2022, 12:37 PM
Herald added a subscriber: bixia. · View Herald Transcript
tra requested review of this revision.Mar 31 2022, 12:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2022, 12:37 PM
yaxunl accepted this revision.Mar 31 2022, 1:36 PM

LGTM. Thanks.

This revision is now accepted and ready to land.Mar 31 2022, 1:36 PM
This revision was landed with ongoing or failed builds.Mar 31 2022, 1:52 PM
This revision was automatically updated to reflect the committed changes.