[PATCH] D41296: Limit size of SROA - generated register names

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 09:20:55 PST 2017


serge-sans-paille added a comment.

In https://reviews.llvm.org/D41296#962215, @hfinkel wrote:

> Why don't we just cap all names at some point (and then just start adding numbers as we generally do to break degeneracies). It seems like, otherwise, we'll end up with these kinds of fixes in many places. Fixing this in one common place seems better.


I thought of this, very happy you suggest we go that way. In a release build, we could activate that by default and keep the names in debug build.


Repository:
  rL LLVM

https://reviews.llvm.org/D41296





More information about the llvm-commits mailing list