[PATCH] D107513: [MemCpyOpt/MemorySSA] Do not run the pass for prohibitively large number of memory accesses.

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 6 00:27:14 PDT 2021


asbirlea added a comment.

There are many places in LLVM that rely on various caps to prevent high compile times.
IMO, this is another case that we need to consider can happen and work around it rather than let other users discover it.
I'd also prefer to add a warning message when such a large number of accesses is reached, as this will affect any pass that inserts accesses and updates MemorySSA.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107513



More information about the llvm-commits mailing list