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

Jon Chesterfield via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 21 06:32:36 PDT 2023


JonChesterfield added a comment.

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.


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