[PATCH] D116216: Prevent adding module flag - amdgpu_hostcall multiple times.

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 4 07:35:25 PST 2022


yaxunl added a comment.

In D116216#3209335 <https://reviews.llvm.org/D116216#3209335>, @pvellien wrote:

> @yaxunl It would be very much helpful to know how to write test coverage for this particular patch? thanks

there is a lit test amdgpu-asan.cu. You can add a call of print to that test and make sure it compiles.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116216/new/

https://reviews.llvm.org/D116216



More information about the cfe-commits mailing list