[PATCH] D12046: AMDGPU: Use DFS to avoid second loop over function

Daniel Berlin via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 20:29:15 PDT 2015


dberlin added a subscriber: dberlin.
dberlin added a comment.

Do you actually use Visited outside of the iterator (It's not visible
in this patch if you do)?
If not, you should just use depth_first, not depth_first_ext.


http://reviews.llvm.org/D12046





More information about the llvm-commits mailing list