[PATCH] D107529: [llvm-profgen] Fix bug of loop scope mismatch

Lei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 4 21:11:04 PDT 2021


wlei added a subscriber: spupyrev.
wlei added a comment.

In D107529#2927429 <https://reviews.llvm.org/D107529#2927429>, @wenlei wrote:

> Good catch! Is this cause of the slow down we saw today and is this a regression?

Yes, it's today's slowing down, I reproduced @spupyrev 's script and saw 99% of the time spent is in line 525 loop and the loop size is 100,000+. Sinking the code there can speed up the case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107529



More information about the llvm-commits mailing list