This is an archive of the discontinued LLVM Phabricator instance.

[CUDA][HIP] Fix ambiguity of new operator
ClosedPublic

Authored by yaxunl on Apr 27 2020, 3:55 PM.

Details

Reviewers
tra
rjmccall
Summary

https://reviews.llvm.org/D77954 caused a regression about ambiguity of new operator
in file scope.

This patch recovered the previous behavior for comparison without a caller.

This is a workaround. For real fix we need D71227

Diff Detail

Event Timeline

yaxunl created this revision.Apr 27 2020, 3:55 PM
rjmccall accepted this revision.Apr 27 2020, 4:41 PM

This really has nothing to do with the new operator specifically, but it looks like a good fix.

This revision is now accepted and ready to land.Apr 27 2020, 4:41 PM
ronlieb removed a subscriber: ronlieb.
ronlieb added a subscriber: ronlieb.
tra accepted this revision.Apr 28 2020, 9:39 AM

OK. Let's give it a try.