[PATCH] D48578: use a MapVector for pass manage LastUser

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 03:53:47 PST 2020


foad added a comment.

> If you want to fix this, you should fix the bad algorithm in setLastUser. We already have an inverse map, so there should be some way that simply doesn't iterate over the entire thing in this way.

I've done this in D92309 <https://reviews.llvm.org/D92309>.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D48578/new/

https://reviews.llvm.org/D48578



More information about the llvm-commits mailing list