[PATCH] D148906: [AMDGPU] Remove incompatible attributes of function in amdgpu-remove-incompatible-functions pass

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 21 08:07:51 PDT 2023


yaxunl added a comment.

In D148906#4286979 <https://reviews.llvm.org/D148906#4286979>, @JonChesterfield wrote:

> If device libs doesn't want to change that, we could provide an attribute or similar that device libs annotates functions with. Wave32-only or similar, with semantics that it gets erased by clang without warning on wave64. Would be as if that function never existed on wave64 targets. Might need it to apply to objects as well, depending on how much of this stuff device-libs contains.

device libs may be linked in by other programs or libraries, e.g. comgr.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148906



More information about the llvm-commits mailing list