[PATCH] D100559: [GC][NFC] Make getGCStrategy by name available in IR

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 18 02:34:51 PDT 2021


mkazantsev added a comment.

What's the problem of having multiple instances of the same GC strategy? Currently, each strategy has only `const` methods, so it doesn't matter which instance we are using. Even if we make them mutable, isn't it possible that we are willing to get some default strategy and then configure it, e.g., depending on a platform? In that case, having different instances is even useful.


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

https://reviews.llvm.org/D100559



More information about the llvm-commits mailing list