[all-commits] [llvm/llvm-project] c65f3f: [AMDGPU] Simplify collectReachableCallees. NFCI.

Jay Foad via All-commits all-commits at lists.llvm.org
Wed Jun 23 01:21:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c65f3f562b15588a444322afe3f2cd3693681730
      https://github.com/llvm/llvm-project/commit/c65f3f562b15588a444322afe3f2cd3693681730
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-06-23 (Wed, 23 Jun 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/Utils/AMDGPULDSUtils.cpp

  Log Message:
  -----------
  [AMDGPU] Simplify collectReachableCallees. NFCI.

Don't use SCC iterators when we're only interested in reachability.
Use df_begin/df_end inline to find reachable nodes.

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




More information about the All-commits mailing list