[PATCH] D103225: [AMDGPU] Replace non-kernel function uses of LDS globals by pointers.
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 21 01:28:22 PDT 2021
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/Utils/AMDGPULDSUtils.cpp:51
+
+ for (scc_iterator<CallGraphNode *> I = scc_begin(CGN); !I.isAtEnd(); ++I) {
+ const std::vector<CallGraphNode *> &SCC = *I;
----------------
There is no need to find strongly connected components. This should use a df_iterator instead.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103225/new/
https://reviews.llvm.org/D103225
More information about the llvm-commits
mailing list