[PATCH] D34726: AMDGPU/SI: Do not insert an instruction into worklist twice in movetovalu

Alfred Huang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 15:23:23 PDT 2017


alfred.j.huang added a comment.

I do not know the existence of SetVector.   It basically contains sub containers set_ and vector_, which is exactly what I need.  Instead of me imitating it with an explicit SmallSet and SmallVector.    This should work.   Thanks!


https://reviews.llvm.org/D34726





More information about the llvm-commits mailing list