[all-commits] [llvm/llvm-project] e06d70: [AMDGPU] Fixed function traversal in attribute pro...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Wed Mar 25 18:53:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e06d707aa2ae4582b26f8b4839f07574cc67deee
      https://github.com/llvm/llvm-project/commit/e06d707aa2ae4582b26f8b4839f07574cc67deee
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-03-25 (Wed, 25 Mar 2020)

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

  Log Message:
  -----------
  [AMDGPU] Fixed function traversal in attribute propagation

AMDGPUPropagateAttributes pass was skipping some of the functions
when cloning. 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.

Differential Revision: https://reviews.llvm.org/D76815




More information about the All-commits mailing list