[PATCH] D76815: [AMDGPU] Fixed function traversal in attribute propagation

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 25 17:53:48 PDT 2020


rampitec created this revision.
rampitec added a reviewer: arsenm.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

AMDGPUPropagateAttributes pass was skipping some of the functions
when clonning. Functions were added to root set and then skipped
on the next interation because they are already in the root set,
while were meant to be processed with different features.


https://reviews.llvm.org/D76815

Files:
  llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
  llvm/test/CodeGen/AMDGPU/propagate-attributes-clone.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76815.252714.patch
Type: text/x-patch
Size: 4434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200326/4c704238/attachment-0001.bin>


More information about the llvm-commits mailing list