[all-commits] [llvm/llvm-project] 5d48b4: [AMDGPU] Use depth first iterator instead of recur...
Jay Foad via All-commits
all-commits at lists.llvm.org
Mon Mar 15 03:33:21 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5d48b45ce3bf45f8b8e1195fd74287ba90d70e89
https://github.com/llvm/llvm-project/commit/5d48b45ce3bf45f8b8e1195fd74287ba90d70e89
Author: Jay Foad <jay.foad at amd.com>
Date: 2021-03-15 (Mon, 15 Mar 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
Log Message:
-----------
[AMDGPU] Use depth first iterator instead of recursive DFS. NFCI.
The reason for this is to avoid deep recursion in DFS() which can cause
stack overflow on large CFGs, especially on Windows.
Differential Revision: https://reviews.llvm.org/D98528
More information about the All-commits
mailing list