[PATCH] D89896: Add loop distribution to the LTO pipeline

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 22 01:20:27 PDT 2020


nikic added a comment.

In D89896#2346549 <https://reviews.llvm.org/D89896#2346549>, @dmgreen wrote:

> It's a shame that this adds so many other passes for something that isn't usually used, but I guess a lot of them should be free.

Right, I noticed that as well... If this turns out to have a compile-time impact, I would expect at least some parts of this can be preserved. For example, a trivial way to "preserve" SCEV without worrying about the details would be to "forget all" if loop distribution actually happens, which it does not by default. I believe BasicAA and AAResults can be preserved pretty much always, though it also doesn't have much effect.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89896



More information about the llvm-commits mailing list