[PATCH] D89980: [hip] Remove kernel argument coercion.

Michael Liao via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 07:41:47 PDT 2020


hliao added a comment.

In D89980#2348339 <https://reviews.llvm.org/D89980#2348339>, @tra wrote:

> Are there any tests to illustrate what this change does to IR or generated code?

the existing test `kernel-args.cu` is enhanced by adding a pointer in that aggregate kernel argument. Previously, as the pointer is used in that aggregate kernel argument,  it will be coerced into a global pointer. Now, it won't be changed anymore.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89980



More information about the cfe-commits mailing list