[PATCH] D110000: AMDGPU: Use attributor to propagate amdgpu-flat-work-group-size

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 17 13:00:39 PDT 2021


arsenm created this revision.
arsenm added reviewers: jdoerfert, kuter, rampitec, kzhuravl, yaxunl, bcahoon.
Herald added subscribers: foad, okura, uenoku, kerbowa, hiraditya, t-tye, tpr, dstuttard, nhaehnle, jvesely.
Herald added a reviewer: uenoku.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a reviewer: sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.

This can merge the acceptable ranges based on the call graph, rather
than the simple application of the attribute. Remove the handling from
the old pass.


https://reviews.llvm.org/D110000

Files:
  llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
  llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
  llvm/test/CodeGen/AMDGPU/propagate-attributes-flat-work-group-size.ll
  llvm/test/CodeGen/AMDGPU/propagate-flat-work-group-size.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110000.373318.patch
Type: text/x-patch
Size: 18130 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210917/cb37ed91/attachment.bin>


More information about the llvm-commits mailing list