[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
parent
e2310704
Please register or sign in to comment