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

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 9 01:32:56 PDT 2021


mkazantsev added a comment.

So it's not a singleton, it's something that is cached inside of `GCModuleInfo`. And this patch preserves this behavior. You can as well say that SCEV constant 1 of type i32 is a singleton, but it's not: it is something that is cached within a particular instance of ScalarEvolution.


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

https://reviews.llvm.org/D100559



More information about the llvm-commits mailing list